Skills linting-neostandard-eslint9
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.
install
source · Clone the upstream repo
git clone https://github.com/mcollina/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mcollina/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/linting-neostandard-eslint9" ~/.claude/skills/mcollina-skills-linting-neostandard-eslint9 && rm -rf "$T"
manifest:
skills/linting-neostandard-eslint9/SKILL.mdsource content
When to use
Use this skill when you need to:
- Set up linting in a JavaScript or TypeScript project
- Use
as a Standard-like ESLint v9 flat-config baselineneostandard - Configure
with the flat config system (eslint@9
/eslint.config.js
)eslint.config.mjs - Migrate from
tostandard
or ESLint v9neostandard - Migrate from legacy
configuration to ESLint v9.eslintrc* - Run linting consistently in CI and local development
Quick start: basic neostandard setup
Install 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 .
Common setup workflow (new project)
- Install
andeslint@9
(see Quick start above)neostandard - Create
witheslint.config.js
as the baseneostandard() - Add any project-specific rule overrides on top
- Run
to confirm no config errorsnpx eslint . - Add a lint script to
:package.json"lint": "eslint ." - Integrate into CI with a non-fix run; use
only in local workflows--fix
How to use
Read individual rule files for implementation details and examples:
- rules/neostandard.md - Install, configure, and extend neostandard with ESLint
- rules/eslint-v9-flat-config.md - Build ESLint v9 flat config for JS/TS projects
- rules/migration-from-standard.md - Migrate from
tostandard
or ESLint v9neostandard - rules/migration-from-legacy-eslint.md - Migrate from
to flat config safely.eslintrc* - rules/ci-and-editor-integration.md - CI scripts, pre-commit, and editor setup
Core principles
- Prefer reproducible linting with pinned major versions
- Keep config minimal and explicit
- Use flat config for ESLint v9 projects
- Treat lint failures as quality gates in CI
- Enable auto-fix for local workflows, but validate with non-fix CI runs