Glossary
A collection of terms and concepts used in the ESLint React.
L
Language Preference
Language Preference is a set of rules that represents the user's preference for how code should be formatted.
ESLint React provides a way to customize the code style used in the internal fixer's output through Language Preference.
P
Project Config
The configuration file specifies the root files and the compiler options required to compile the project.
For TypeScript or JavaScript files, the Project Config are typically named tsconfig.json
or jsconfig.json
and are located in the root of a project.
For MDX files, the Project Config is the "mdx"
property in the tsconfig.json
file.
ESLint React uses the Project Config to provide information (e.g. JSX Transform) about the code it is linting.