🚀
ESLint v9 Flat Config
Uses the modern flat config format with full TypeScript support
Modern ESLint config with flat config support for Vue, React, Svelte, TypeScript, Next.js, Nuxt, Astro, Angular, UnoCSS and more
# use pnpm
pnpm dlx @eslint-sets/eslint-config
# use npm
npx @eslint-sets/eslint-config
# use bun
bunx @eslint-sets/eslint-config# Install
pnpm install -D @eslint-sets/eslint-config eslint
# Create config file// eslint.config.ts
import eslintConfig from '@eslint-sets/eslint-config'
export default eslintConfig()| Framework | Auto-detect | Notes |
|---|---|---|
| TypeScript | ✅ | Default enabled |
| Vue | ✅ | Vue 2 & 3 support, with a11y option |
| React | ✅ | With hooks, refresh, and React Compiler support |
| Svelte | ✅ | Svelte 5 runes support |
| Solid | ✅ | SolidJS support |
| Next.js | ✅ | Requires @next/eslint-plugin-next |
| Nuxt | ✅ | Nuxt 3 support |
| Astro | ✅ | Requires eslint-plugin-astro |
| Angular | ✅ | Requires @angular-eslint/eslint-plugin |
| UnoCSS | ✅ | Requires @unocss/eslint-plugin |
^18.18.0 or ^20.9.0 or >=21.1.0^9.10.0 or ^9.22.0eslint.config.ts or eslint.config.mjs)