ESLint
Linter that finds and fixes JavaScript code patterns based on AST analysis.
Linting and formatting npm MIT
Used in agent projects
4,833
38.1% of 12,697 public repos built with AI coding agents
Rank in linting and formatting
#1 of 40
by use in those projects
Downloads
162M
npm, last 7 days, eslint
GitHub stars
27.6K
last push Oct 10, 2026
How ESLint is used
ESLint is a dependency in 4,833 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (38.1%), #1 of 40 in linting and formatting. The most used alternative there is Prettier. Projects that use it most often also use React (76.5%), Tailwind CSS (66.6%), TypeScript (83.4%).
Often used with ESLint
| React | 76.5% of ESLint projects · 1.8× more than average |
|---|---|
| Tailwind CSS | 66.6% of ESLint projects · 1.9× more than average |
| TypeScript | 83.4% of ESLint projects · 1.5× more than average |
| Next.js | 47.4% of ESLint projects · 2.1× more than average |
| Lucide React | 38.2% of ESLint projects · 1.9× more than average |
| clsx | 36.0% of ESLint projects · 2.0× more than average |
| Tailwind Merge | 34.2% of ESLint projects · 2.0× more than average |
| Prettier | 34.0% of ESLint projects · 1.9× more than average |
By coding agent
| Claude Code | 39.8% of projects set up for it |
|---|---|
| GitHub Copilot | 37.8% of projects set up for it |
| Cursor | 42.3% of projects set up for it |
| Gemini CLI | 45.0% of projects set up for it |
| OpenAI Codex | 42.5% of projects set up for it |
| Devin Desktop | 46.0% of projects set up for it |
| OpenCode | 39.4% of projects set up for it |
| Kiro | 37.0% of projects set up for it |
Share of public repos configured for each agent that list ESLint as a dependency.
Install
| Package | npm install eslint |
|---|---|
| Packages counted | eslint, eslint-config-next, @eslint/js, eslint-plugin-react-hooks, globals, typescript-eslint, eslint-plugin-react-refresh, eslint-config-prettier |
| Main stacks | TypeScript / JavaScript (2,297), Next.js (2,238), React Native / Expo (99), PHP (72) |
| Example projects | handsontable/handsontable, Automattic/wp-calypso, WordPress/gutenberg, NG-ZORRO/ng-zorro-antd, enso-org/enso |
Alternatives to ESLint
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Prettier npm Opinionated code formatter for JavaScript, TypeScript, and related languages. |
2,218 (17.5%) | 138M | 52.4K | MIT |
| Biome npm Fast web toolchain providing linting, formatting and code quality all in one. |
445 (3.5%) | 17.7M | 25.9K | MIT OR Apache-2.0 |
| oxlint npm Fast JavaScript linter written in Rust with zero-config defaults. |
206 (1.6%) | 25.7M | 23K | MIT |
| Knip npm Find and fix unused dependencies, exports and files in TypeScript/JavaScript projects. |
150 (1.2%) | 17.5M | 12.4K | ISC |
| stylelint npm Linter that finds and fixes CSS errors and enforces code style conventions. |
140 (1.1%) | 10.8M | 11.5K | MIT |
| oxfmt npm Fast JavaScript formatter from the Oxc compiler project. |
125 (1.0%) | 16.3M | 23K | MIT |
| ESLint Import Resolver TypeScript npm ESLint plugin resolver adding TypeScript support to import/export linting. |
119 (0.9%) | 48.8M | 825 | ISC |
| Black pypi Uncompromising Python code formatter enforcing consistent style automatically. |
108 (0.9%) | 28.7M | 41.9K | — |