mcpField
L
linting-neostandard-eslint9

linting-neostandard-eslint9

github.com/mcollinaTesting & quality2.0k1.1k installsUpdated 2w ago
Repository

About linting-neostandard-eslint9

linting-neostandard-eslint9 is a skill for setting up and maintaining JavaScript and TypeScript linting with neostandard and ESLint v9 flat config. It covers new configurations, migrations from Standard or legacy ESLint config, and consistent local and CI workflows.

Key features

  1. 01neostandard with ESLint v9
  2. 02Flat config setup for JS and TS
  3. 03Migration guidance from Standard
  4. 04Migration from legacy ESLint config
  5. 05Local and CI linting workflows

Use cases

  1. 01Adding linting to a JS or TS project
  2. 02Migrating from standard to neostandard
  3. 03Moving from .eslintrc to flat config
  4. 04Running lint checks in CI

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mcollina/skills --skill linting-neostandard-eslint9

After installing, type/linting-neostandard-eslint9in Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

tile.json
rules/
ci-and-editor-integration.md
eslint-v9-flat-config.md
migration-from-legacy-eslint.md
migration-from-standard.md
neostandard.md

Details

From the project README

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

Read individual rule files for implementation details and examples:

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

Comments

Markdown supported