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
{
"context": "Tests whether the agent uses the correct neostandard options for a Prettier-integrated project: noStyle to avoid formatting conflicts, semi for semicolon mode, resolveIgnoresFromGitignore for gitignore-based ignores, and eslint-plugin-import-x for import validation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "neostandard and eslint installed",
"description": "package.json devDependencies includes both 'neostandard' and 'eslint'",
"max_score": 8
},
{
"name": "noStyle option set",
"description": "The neostandard() call includes { noStyle: true } (disabling style rules since Prettier handles formatting)",
"max_score": 15
},
{
"name": "semi option set",
"description": "The neostandard() call includes { semi: true } (enabling semicolon enforcement for semistandard style)",
"max_score": 15
},
{
"name": "resolveIgnoresFromGitignore used",
"description": "The config imports and uses resolveIgnoresFromGitignore() from 'neostandard' to populate the ignores option",
"max_score": 15
},
{
"name": "No separate ignore list duplicating .gitignore",
"description": "The eslint.config.js does NOT contain a manually typed list of ignores that duplicates .gitignore entries (dist/, node_modules/, etc.) — relies on resolveIgnoresFromGitignore instead",
"max_score": 10
},
{
"name": "eslint-plugin-import-x added",
"description": "package.json devDependencies includes 'eslint-plugin-import-x' for import/export validation",
"max_score": 15
},
{
"name": "import-x plugin configured in flat config",
"description": "eslint.config.js includes eslint-plugin-import-x in the plugins or extends configuration",
"max_score": 10
},
{
"name": "lint scripts present",
"description": "package.json scripts includes 'lint' set to 'eslint .' and 'lint:fix' set to 'eslint . --fix'",
"max_score": 12
}
]
}