Skip to content

Commit bb1c576

Browse files
authored
Merge pull request #57 from planetlabs/updates
Additional rules
2 parents d7fb963 + 35904f2 commit bb1c576

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = {
2626
'no-cond-assign': 'error',
2727
'no-console': 'error',
2828
'no-const-assign': 'error',
29+
'no-constant-binary-expression': 'error',
2930
'no-control-regex': 'error',
3031
'no-debugger': 'error',
3132
'no-delete-var': 'error',

react.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
extends: ['./index.js', 'prettier/react'],
2+
extends: ['./index.js'],
33
plugins: ['react', 'react-hooks'],
44
parserOptions: {
55
ecmaFeatures: {
@@ -15,6 +15,7 @@ module.exports = {
1515
'react-hooks/exhaustive-deps': 'warn',
1616
'react-hooks/rules-of-hooks': 'error',
1717
'react/jsx-boolean-value': 'error',
18+
'react/jsx-curly-brace-presence': 'error',
1819
'react/jsx-key': 'error',
1920
'react/jsx-no-duplicate-props': 'error',
2021
'react/jsx-no-undef': 'error',

0 commit comments

Comments
 (0)