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 when a project currently runs standard and you want modern ESLint v9 + flat config while keeping a Standard-like baseline.
npm install --save-dev neostandard eslintnpx neostandard --helppackage.json "standard" settings:npx neostandard --migrate > eslint.config.jsstandard to eslint:{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}npm uninstall standardThen remove obsolete top-level "standard" config and editor integrations specific to standard (for example vscode-standard).
npx neostandard --semi --migrate > eslint.config.jsts: true (or regenerate/configure accordingly).standard-engine wrapper)eslint-config-standard behavioreslint-plugin-import-x are not bundled by defaultIf you relied heavily on import linting in your old setup, either:
eslint-plugin-import-x explicitly, ortsc --noEmit (recommended for TypeScript-heavy projects)Run lint and fix incrementally after migration; keep tooling migration separate from rule-tuning commits.