agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/eslint/SKILL.md

eslint

Skill13 starsChanged 27 days agoMITView on GitHub

Find and fix problems in your JavaScript code. - biome (Score: 0.95) Why: Direct relationship, Both are Developer Tools, Shared ecosystem (javascript), Can deploy to any, Similar network profile - prettier (Score: 0.92) Why: Direct relationship, Both are Developer Tools, Shared ecosystem (javascript), Can deploy to any, Similar network profile - bullmq (Score: 0.35) Why: Both are Developer Tools, Shared ecosystem (javascript), Logical next step

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If linting becomes extremely slow, it is usually due to rules that require type information.

    line 43
  2. Very specific:

    Use eslint-plugin-security to detect potential vulnerabilities like Regex Denial of Service (ReDoS) or eval() usage directly in your source …

    line 46
  3. Distinctive:

    Use this when your agent works with eslint — structured patterns beat pasted docs and prevent common hallucinations.

    line 52

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ESLint Skill

Find and fix problems in your JavaScript code.

Ecosystem Graph Preview

graph LR
  eslint["eslint"]:::core
  classDef core fill:#f9f,stroke:#333,stroke-width:4px;
  biome -- "replaces" --> eslint
  eslint -- "alternative to" --> biome
  eslint -- "works well with" --> prettier
  eslint -- "works well with" --> typescript
  prettier -- "works well with" --> eslint

Recommended Next Skills

  • biome (Score: 0.95) Why: Direct relationship, Both are Developer Tools, Shared ecosystem (javascript), Can deploy to any, Similar network profile
  • prettier (Score: 0.92) Why: Direct relationship, Both are Developer Tools, Shared ecosystem (javascript), Can deploy to any, Similar network profile
  • bullmq (Score: 0.35) Why: Both are Developer Tools, Shared ecosystem (javascript), Logical next step

Quick Start

ESLint statically analyzes your code to quickly find problems. It is highly extensible via plugins.

npm init @eslint/config@latest

Production Patterns

Flat Config

ESLint v9 exclusively uses the new Flat Config system (eslint.config.js). It drops the complex cascading .eslintrc files in favor of a single array of configuration objects.

Architecture & Scaling

AST Parsing

ESLint parses JavaScript into an Abstract Syntax Tree (AST) and evaluates rules against it. When using TypeScript, you must configure @typescript-eslint/parser to allow ESLint to understand TS-specific syntax.

Error Recovery

If linting becomes extremely slow, it is usually due to rules that require type information. Run type-aware linting only in CI, and disable those specific rules for your local IDE experience if the project is massive.

Security Notes

Use eslint-plugin-security to detect potential vulnerabilities like Regex Denial of Service (ReDoS) or eval() usage directly in your source code.

References

Why use this skill

Use this when your agent works with eslint — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Referencing CLI flags or config keys that do not exist
  • Using outdated major versions of tools
  • Skipping lockfile or version pinning in examples

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • biome — alternative to
  • prettier — works well with
  • nextjs — works well with

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.