You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
415 B
15 lines
415 B
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',
|
|
},
|
|
}
|
|
|