antfu/eslint-config
Anthony's ESLint config preset observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 96
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 2604
- days_rel: 27
- days_push: 27
- n_releases_24m: 113
Adoption not part of the score
6253 stars · 576 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A shareable ESLint flat config preset by Anthony Fu that provides opinionated linting and auto-fix formatting for JavaScript, TypeScript, Vue, React, JSON, YAML, TOML, Markdown, and more with a single line of setup. It replaces Prettier via ESLint Stylistic, respects .gitignore, and ships a CLI wizard for one-command setup and legacy config migration.
Use cases
- set up eslint for a typescript and vue project with one line of config
- replace prettier with eslint for code formatting
- migrate legacy eslintrc config to eslint flat config
- get an opinionated javascript code style preset with sorted imports and no semicolons
- lint json, yaml, toml, and markdown files out of the box
- enforce consistent code style across a javascript monorepo
When to choose
- you want an out-of-the-box ESLint setup without hand-picking dozens of rules
- you prefer linting and formatting in a single tool instead of running Prettier alongside ESLint
- your project uses TypeScript, Vue, React, Svelte, Astro, Solid, or UnoCSS and you want first-class support
- you like Anthony Fu's code style (single quotes, no semicolons, sorted imports) and want it enforced automatically
When to avoid
- you need a neutral, fully customizable baseline and dislike opinionated style choices like no semicolons
- you are still on ESLint below v9.5.0 or cannot adopt flat config
- your team requires strict control over every rule change, since this is a personal config that may change between releases (forking is recommended in that case)
Facets
plugin · maturity stable
linter formatter developer-tools cli developer-tools web-development frontend cli eslint eslint-flat-config shareable-config code-style linting prettier-replacement typescript vue code-quality opinionated-defaults nodejs
2 sources
- readme: https://github.com/antfu/eslint-config · fetched 2026-08-28 · fc06a9e2fbd5
- homepage: https://eslint-config.antfu.me/ · fetched 2026-08-29 · 40d57aaeb2ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antfu/eslint-config | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="antfu/eslint-config")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem