ESLint
- Designed to lint JavaScript code
- Core Concets
- Rules
- Parsers
- Processors - extracts JS code from other files, and/or process JS code.
Config
- Flat config system
- The config is an array of config objects:
defineConfig([...]).
- “Each
configuration object
contains all of the information ESLint needs to execute on a set of files.”
- When multiple config objects apply to the same file, they are merged and the
later one takes precedence.
typescript-eslint
- Allows ESLint to parse TS code, and provides rules that are type based.
- Project Service
- A way to enable type linting that is “generally easier to configure and
faster at runtime”.