← All Tools

ESLint Flat Config Builder

Build an eslint.config.js flat config (ESLint v9+) interactively. Pick a language, JS/TS preset, plugins, common rules, and ignore patterns, then copy a ready-to-paste ES module config.

Language & Environment

Choose which file glob blocks to emit.
Parser ECMAScript target.
How files should be parsed.
Press Enter/comma to add. Common: browser, node, worker, jest.
Base rule set to extend.
Adds eslint-config-prettier block to let Prettier handle formatting.

Plugins

eslint-plugin-react
eslint-plugin-react-hooks
eslint-plugin-import
eslint-plugin-unicorn
eslint-plugin-jsx-a11y
eslint-plugin-n

Common Rules

Ignore Patterns

Globs applied as a separate { ignores } block at the top of the config.

eslint.config.js


Copied!