From ae3f937f8ba76602b4eba546b92ebb81dd61c01d Mon Sep 17 00:00:00 2001 From: alexesprit Date: Sun, 5 Jul 2020 20:08:22 +0300 Subject: [PATCH] Remove duplicate rule --- index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 30c7ec7..f57d82d 100644 --- a/index.js +++ b/index.js @@ -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', @@ -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',