mcollina avatar

Linting Neostandard Eslint9

If you're setting up ESLint 9 with the new flat config system or migrating from the old .eslintrc files, this gets you there with neostandard as your baseline ruleset. It covers the full setup workflow, from installing eslint@9 and neostandard to creating eslint.config.js, plus migration paths from both the legacy standard package and old ESLint configs. The guidance is practical: includes CI integration, pre-commit hooks, and editor setup. The core advice is solid too, pin your versions, keep configs minimal, auto-fix locally but validate without fixes in CI. It's essentially a comprehensive playbook for adopting modern ESLint tooling without the usual migration headaches.

skills.sh installs
1.2K
GitHub stars
2K
last updated
Aug 21, 2026

Install

$ npx -y skills add mcollina/skills --skill linting-neostandard-eslint9 --agent claude-code

Installs into .claude/skills of the current project.

Files

When to use

Use this skill when you need to:

  • Set up linting in a JavaScript or TypeScript project
  • Use neostandard as a Standard-like ESLint v9 flat-config baseline
  • Configure eslint@9 with the flat config system (eslint.config.js/eslint.config.mjs)
  • Migrate from standard to neostandard or ESLint v9
  • Migrate from legacy .eslintrc* configuration to ESLint v9
  • 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)

  1. Install eslint@9 and neostandard (see Quick start above)
  2. Create eslint.config.js with neostandard() as the base
  3. Add any project-specific rule overrides on top
  4. Run npx eslint . to confirm no config errors
  5. Add a lint script to package.json: "lint": "eslint ."
  6. Integrate into CI with a non-fix run; use --fix only in local workflows

How to use

Sponsors

Details

Repository
github.com/mcollina/skills
Categories
Frontend Development, Git & Pull Requests, Code Review & Quality, Debugging
First seen
May 16, 2026

More from mcollina/skills

All 12
1vtex avatarvtex-io-session-appsvtex/skillsApply when building or debugging a VTEX IO session transform app (vtex.session integration). Covers namespace ownership, input-vs-output fields, transform order1.2Kskills.sh installs
2mindrally avatarnextauth-authenticationmindrally/skillsGuidelines for implementing NextAuth.js (Auth.js v5) authentication in Next.js applications with session management and security best practices1.2Kskills.sh installs
3capawesome-team avatarcapacitor-plugin-developmentcapawesome-team/skillsGuides the agent through creating and maintaining Capacitor plugins from scratch. Covers scaffolding a new plugin project, designing the TypeScript API, impleme1.2Kskills.sh installs
4pproenca avatarplaywrightpproenca/dot-skillsPlaywright testing best practices for Next.js applications (formerly test-playwright). This skill should be used when writing, reviewing, or debugging E2E tests1.2Kskills.sh installs
5vtex avatarheadless-bff-architecturevtex/skillsApply when designing or modifying a BFF (Backend-for-Frontend) layer, middleware, or API proxy for a headless VTEX storefront. Covers BFF middleware architectur1.2Kskills.sh installs
6vintasoftware avatardjango-celery-expertvintasoftware/django-ai-pluginsExpert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and error1.2Kskills.sh installs