计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
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…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
.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.
metadata:
tags: linting, neostandard, eslint, eslint9, flat-config, javascript, typescriptUse 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