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
96%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Use this skill when you need to:
neostandard as a Standard-like ESLint v9 flat-config baselineeslint@9 with the flat config system (eslint.config.js/eslint.config.mjs)standard to neostandard or ESLint v9.eslintrc* configuration to ESLint v9Install dependencies and create a minimal eslint.config.js:
npm install --save-dev eslint@9 neostandard// eslint.config.js
import neostandard from 'neostandard'
export default neostandard()Verify the config works:
npx eslint .eslint@9 and neostandard (see Quick start above)eslint.config.js with neostandard() as the basenpx eslint . to confirm no config errorspackage.json: "lint": "eslint ."--fix only in local workflowsRead individual rule files for implementation details and examples:
standard to neostandard or ESLint v9.eslintrc* to flat config safely