Update .eslintrc.cjs
This commit is contained in:
parent
c79a9495bc
commit
d4cd9ded76
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
env: { browser: true, es2020: true },
|
||||
env: { browser: true, es2020: true, 'node': true },
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:react/recommended',
|
||||
|
@ -11,5 +11,6 @@ module.exports = {
|
|||
plugins: ['react-refresh'],
|
||||
rules: {
|
||||
'react-refresh/only-export-components': 'warn',
|
||||
'react/prop-types': 'off',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue