Skip to content

Commit

Permalink
Merge pull request #57 from planetlabs/updates
Browse files Browse the repository at this point in the history
Additional rules
  • Loading branch information
tschaub authored Jan 31, 2024
2 parents d7fb963 + 35904f2 commit bb1c576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module.exports = {
'no-cond-assign': 'error',
'no-console': 'error',
'no-const-assign': 'error',
'no-constant-binary-expression': 'error',
'no-control-regex': 'error',
'no-debugger': 'error',
'no-delete-var': 'error',
Expand Down
3 changes: 2 additions & 1 deletion react.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./index.js', 'prettier/react'],
extends: ['./index.js'],
plugins: ['react', 'react-hooks'],
parserOptions: {
ecmaFeatures: {
Expand All @@ -15,6 +15,7 @@ module.exports = {
'react-hooks/exhaustive-deps': 'warn',
'react-hooks/rules-of-hooks': 'error',
'react/jsx-boolean-value': 'error',
'react/jsx-curly-brace-presence': 'error',
'react/jsx-key': 'error',
'react/jsx-no-duplicate-props': 'error',
'react/jsx-no-undef': 'error',
Expand Down

0 comments on commit bb1c576

Please sign in to comment.