Update .eslintrc.cjs

This commit is contained in:
Joshua Lochner 2023-05-12 03:24:04 +02:00
parent c79a9495bc
commit d4cd9ded76
1 changed files with 2 additions and 1 deletions

View File

@ -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',
},
}