ESLint Config Generator
// Generate ESLint configuration files
semi
quotes
no-unused-vars
no-console
eqeqeq
prefer-const
import js from '@eslint/js';
export default [
js.configs.recommended,
{
rules: {
semi: ['error', 'always'],
quotes: ['error', 'single'],
'no-unused-vars': 'warn',
eqeqeq: 'error',
curly: 'error',
'prefer-const': 'warn',
'no-var': 'error'
},
},
];#About 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. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.
#FAQ
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.
</> Embed this tool ▾
Copy this code to embed the tool on your website. Adjust the height to fit your layout.
<iframe src="https://www.browserutils.dev/embed/eslint-config-generator" width="100%" height="500" frameborder="0" title="ESLint Config Generator"></iframe>