Index of every page on this site: llms.txt
All skills
mcollina avatar

/linting-neostandard-eslint9

@c75d70d
by Matteo Collinamcollina/skills2k stars
146
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/mcollina/skills/linting-neostandard-eslint9

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

rulesci-and-editor-integration.md

≈267 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CI guidance

  • Run lint in CI as a required step:
npm run lint
  • Do not use auto-fix in CI.
  • Keep CI Node.js version aligned with local development and project engines.

Pre-commit hook pattern

Use lint-staged (or equivalent) to lint only changed files before commit.

{
  "lint-staged": {
    "*.{js,mjs,cjs,ts,mts,cts}": [
      "eslint --fix"
    ]
  }
}

When using neostandard, keep pre-commit execution on eslint --fix because ESLint is the actual runner.

VS Code integration

  • Install ESLint extension
  • Enable flat config support if required by extension version
  • Use editor.codeActionsOnSave for explicit, predictable auto-fixes

Example workspace settings:

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.validate": ["javascript", "typescript"]
}

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides legitimate instructions for configuring ESLint v9 and neostandard in JavaScript and TypeScript projects. It uses standard development tools and well-known packages from the npm registry to set up linting environments.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    5/6 files flagged

Signed by skilld at c75d70d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated 9 months ago
Other metadata
metadata
{
  "tags": "linting, neostandard, eslint, eslint9, flat-config, javascript, typescript"
}

README badge

README badge for mcollina/skills/linting-neostandard-eslint9