ToneGuessr/client/.eslintrc.cjs
Mathias Wagner 62acb290fe
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 4m2s
Initial commit
2025-02-27 19:24:14 +01:00

16 lines
415 B
JavaScript

module.exports = {
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
settings: { react: { version: '18.2' } },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
},
}