ESLint flat config generator

← All tools

Pick your stack and get a commented eslint.config.js for ESLint 9+ flat config, plus the exact npm install -D command. Options sync to the URL.

~~~
Language
Framework
Environment
Style strictness
Extras

Install command

eslint.config.js

~~~

About this tool

ESLint 9 dropped the old .eslintrc format in favor of flat config arrays exported from eslint.config.js. This generator assembles accurate imports and presets for common stacks — adjust ignores and rules to match your repo.

Type-checked rules need a valid tsconfig.json. Prettier handles formatting; ESLint handles code quality — use eslint-config-prettier so they do not fight.

~~~

Read more