12 lines
420 B
JavaScript
12 lines
420 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: { ecmaVersion: 2020, sourceType: 'module', ecmaFeatures: { jsx: true } },
|
|
env: { browser: true, es2021: true, node: true },
|
|
extends: ['eslint:recommended', 'plugin:react/recommended', 'prettier'],
|
|
plugins: ['react'],
|
|
rules: {
|
|
'no-console': 'warn',
|
|
'react/react-in-jsx-scope': 'off', // using react 18 JSX transform
|
|
'react/jsx-uses-react': 'off'
|
|
}
|
|
} |