Skip to main content

ESLint Config Generator

New

Build an .eslintrc.json configuration with environments, extends, and custom rules.

eslintconfiglintgenerate
Read the guide
Shortcuts:⌘ KSearch

Choose env flags, extends presets, parser, and parserOptions.

env

extends

Add rule/severity rows or insert common rule presets.

Frequently Asked Questions

Is this for modern flat config or old .eslintrc format?

This tool generates legacy .eslintrc.json output. It does not produce eslint.config.js or the array-based flat config format used in newer ESLint setups.

If I choose the TypeScript parser, does it also add the TypeScript preset automatically?

No. Changing the parser only adds @typescript-eslint/parser when needed. You still have to separately enable plugin:@typescript-eslint/recommended in the extends list if you want that preset.

Can I add rule options like ["error", "single"] for quotes?

No. Custom rules here only support severity strings: off, warn, or error. The generator does not provide a way to attach rule option arrays or objects.

Why is the parser missing from the JSON when I leave espree selected?

That is intentional. The tool only writes a parser property when you pick something other than espree, since espree is ESLint's default parser.

Does this create plugin entries too?

No. It can add extends strings like plugin:react/recommended or plugin:@typescript-eslint/recommended, but there is no separate plugins array editor in this UI.

Related Tools