ESLint Config Generator
Generate ESLint configuration files.Runs in this tab.⌘ ↵ runs it
semi
quotes
no-unused-vars
no-console
eqeqeq
prefer-const
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout ESLint Config Generator
Free online ESLint configuration generator. Create ESLint config files for vanilla JavaScript, React, Vue, and Node.js projects with popular rule presets and parser options. It runs in your browser. Nothing is sent to a server.
Questions
What is ESLint?
ESLint is a static analysis tool for identifying and fixing problems in JavaScript and TypeScript code. It enforces coding standards, catches bugs, and can automatically fix many issues.
What is the ESLint flat config format?
ESLint flat config (eslint.config.js) is the new configuration format introduced in ESLint v8.21. It uses a flat array of config objects instead of the cascading .eslintrc format, making configuration more explicit and predictable.
How is ESLint different from Prettier?
ESLint focuses on code quality rules (detecting bugs, enforcing patterns) while Prettier handles code formatting (spacing, line breaks, quotes). They work best together, with eslint-config-prettier disabling formatting rules that conflict with Prettier.
How do I use ESLint with TypeScript?
Install @typescript-eslint/parser and @typescript-eslint/eslint-plugin, then configure the parser and plugin in your ESLint config. This generator can produce a TypeScript-ready configuration with these settings preconfigured.
Can I auto-fix ESLint errors?
Run eslint --fix to automatically fix issues that have auto-fix support, such as missing semicolons, unused imports, and incorrect quotes. Not all rules support auto-fix; some require manual changes.
Comments
More in DevOps & Config
- .gitignore Generator
- Dockerfile Generator
- Docker Compose Generator
- Nginx Config Generator
- .editorconfig Generator
- .env File Generator
- GitHub Actions Generator
- README Generator
Comments