ESLint Documentation
ESLint is a static analysis tool for JavaScript and TypeScript. Use this skill for configuring ESLint, looking up built-in rules, writing custom rules and plugins, the CLI, and the Node.js API.
Quick Reference
| Task | Entry Point |
|---|---|
| Getting started | contents/use/getting-started.md |
| Flat config (eslint.config.js) | contents/use/configure/configuration-files.md |
| Migrate eslintrc to flat config | contents/use/configure/migration-guide.md |
| Migrate to v10 | contents/use/migrate-to-10.0.0.md |
| Rule reference | contents/rules/{rule-name}.md |
| CLI reference | contents/use/command-line-interface.md |
| Custom rules | contents/extend/custom-rules.md |
| Plugins | contents/extend/plugins.md |
| Node.js API | contents/integrate/nodejs-api.md |
| Troubleshooting | contents/use/troubleshooting/index.md |
When to use
Use this skill when the user asks about:
- Configuring ESLint (flat config, ignores, language options, plugins, parsers)
- What a specific built-in rule does, its options, or examples
- Writing custom rules, plugins, processors, parsers, or formatters
- ESLint CLI flags, Node.js API, or editor/CI integrations
- Migrating between ESLint versions or from eslintrc to flat config
How to find information
- First, read
TOC.mdfor complete file listing organized by directory - Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.