Skip to content

Commit

Permalink
Update .eslintrc.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
xenova committed May 12, 2023
1 parent c79a949 commit d4cd9de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/react-translator/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
env: { browser: true, es2020: true },
env: { browser: true, es2020: true, 'node': true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand All @@ -11,5 +11,6 @@ module.exports = {
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
'react/prop-types': 'off',
},
}

0 comments on commit d4cd9de

Please sign in to comment.