ESLint
$ eslint Foundation Low RiskThe standard pluggable static analyzer for JavaScript and TypeScript under the OpenJS Foundation. Gives agents structured --format json diagnostics, --fix-dry-run previews without disk writes, and --no-color clean output.
npm install -D eslint Runs local AST and TypeScript-ESLint rules directly in the repository workspace.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Built-in --format json, --fix-dry-run, --no-color, --quiet (errors only), and deterministic exit codes.
eslint --format jsonand--fix-dry-runprovide structured JSON output
Read-only by default; --fix-dry-run computes fixes in memory without touching files.
--fix-dry-runverifies edits before writing
Cross-platform npm package requiring Node.js and project config (eslint.config.* or .eslintrc*).
- Runs everywhere Node.js is installed
Unmatched plugin ecosystem including type-checked typescript-eslint rules, though slower than Rust linters on huge repos.
- Supports thousands of framework and type-aware plugins
OpenJS Foundation project under MIT license with long-term stability.
- Maintained under OpenJS Foundation (
eslint/eslint)
Thorough CLI and flat-config reference at eslint.org.
- Official CLI reference at eslint.org
Security, Auth & Guardrails
Purely local static analysis; no credentials stored or required.
MIT open-source npm package; completely free.
# ESLint (eslint) Agent Rules - Always pass `--format json --no-color` when collecting diagnostics. - Prefer `--fix-dry-run --format json` before `--fix` on unfamiliar codebases. - Avoid `--no-eslintrc` / `--no-config-lookup` unless isolating a single rule.
Agent-Ready Command Recipes
Safe Read-Only Queries
npx eslint --format json --no-color .
Outputs per-file lint errors, rule IDs, and line/column spans as JSON without editing files.
npx eslint --fix-dry-run --format json .
Computes proposed autofix outputs in JSON without modifying source files.
Controlled Writes & Previews
npx eslint --fix --no-color .
Applies fixable rule edits in place across matching files.
Strengths for Agents
- +
--fix-dry-run --format jsonlets agents inspect proposed fixes before modifying files. - +
--quietsuppresses warning noise so agents focus on blocking errors. - + Supports deep TypeScript type-aware and framework-specific plugins.
Caveats & Pitfalls
- ! Noticeably slower than Rust linters (
oxlint,biome) on large monorepos. - ! Flat config (
eslint.config.js) vs legacy.eslintrctransitions can cause config lookup errors across repos.