Configures ESLint v9 flat config and neostandard for JavaScript and TypeScript projects, including migrating from legacy `.eslintrc*` files or the `standard` package. Use when you need to set up or fix linting with `eslint.config.js` or `eslint.config.mjs`, troubleshoot lint errors, configure neostandard rules, migrate from `.eslintrc` to flat config, or integrate linting into CI pipelines and pre-commit hooks.
96
95%
Does it follow best practices?
Impact
97%
1.25xAverage score across 5 eval scenarios
Passed
No known issues
neostandard and eslint installed
100%
100%
noStyle option set
100%
100%
semi option set
100%
100%
resolveIgnoresFromGitignore used
100%
100%
No separate ignore list duplicating .gitignore
100%
100%
eslint-plugin-import-x added
100%
100%
import-x plugin configured in flat config
100%
100%
lint scripts present
100%
100%
CI uses npm run lint
100%
100%
CI no --fix flag
100%
100%
CI Node.js version 20
100%
100%
lint-staged used
100%
100%
lint-staged targets JS/TS extensions
100%
100%
pre-commit runner is eslint
100%
100%
lint-staged devDependency
100%
100%
husky or equivalent hook setup
100%
100%
CI lint is required step
100%
100%
SETUP.md documents hook setup
100%
100%
eslint upgraded to v9
100%
100%
Flat config file created
100%
100%
.eslintrc.json removed
100%
100%
No legacy+flat mix
100%
100%
TS rules scoped to TS files
100%
100%
Base rule disabled for TS variant
100%
100%
Migration documented
100%
100%
lint script updated
0%
100%
Single root flat config
100%
100%
Structural migration separated from rule changes
100%
91%
eslint.config.js created
100%
100%
neostandard as config base
0%
100%
standard removed from devDependencies
100%
100%
standard config block removed
100%
100%
lint script uses eslint
100%
100%
lint:fix script uses eslint --fix
100%
100%
neostandard devDependency added
0%
100%
eslint devDependency added
100%
100%
No standard lint command used
100%
100%
Migration notes present
100%
100%
eslint devDependency
100%
100%
neostandard devDependency
100%
100%
Flat config file
100%
100%
neostandard import in config
100%
100%
TypeScript option enabled
100%
100%
lint script
100%
100%
lint:fix script
0%
0%
No .eslintrc files
100%
100%
TS rules scoped to TS files
100%
100%
Base rule disabled for TS variant
100%
100%