Skip to content

Commit

Permalink
Remove duplicate rule
Browse files Browse the repository at this point in the history
  • Loading branch information
alexesprit committed Jul 5, 2020
1 parent 1346867 commit ae3f937
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ module.exports = {
// in the right direction
'for-direction': 'error',

// Disallow unnecessary parentheses
'no-extra-parens': 'error',
// Allow unnecessary parentheses
'no-extra-parens': 'off',

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

'no-extra-parens': 'off',

// Disallow `if` statements as the only statement in `else` blocks
'no-lonely-if': 'error',

Expand Down

0 comments on commit ae3f937

Please sign in to comment.