Skip to content

Commit ae3f937

Browse files
committed
Remove duplicate rule
1 parent 1346867 commit ae3f937

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ module.exports = {
1919
// in the right direction
2020
'for-direction': 'error',
2121

22-
// Disallow unnecessary parentheses
23-
'no-extra-parens': 'error',
22+
// Allow unnecessary parentheses
23+
'no-extra-parens': 'off',
2424

2525
// Disallow template literal placeholder syntax in regular string
2626
'no-template-curly-in-string': 'error',
@@ -115,8 +115,6 @@ module.exports = {
115115
// Disallow empty block statements
116116
'no-empty': ['error', { allowEmptyCatch: true }],
117117

118-
'no-extra-parens': 'off',
119-
120118
// Disallow `if` statements as the only statement in `else` blocks
121119
'no-lonely-if': 'error',
122120

0 commit comments

Comments
 (0)