From a56bf1de9fe8abc626a935cda5bb74224b05705a Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 28 Jan 2021 11:34:20 +0200 Subject: [PATCH] Minor ESLint rules cleanup (#32904) --- .eslintrc.json | 2 -- js/tests/unit/.eslintrc.json | 14 +++----------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9f77a3f5a3..049c736673 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -36,7 +36,6 @@ "error", "always" ], - "prefer-named-capture-group": "off", "semi": [ "error", "never" @@ -52,7 +51,6 @@ "unicorn/prefer-dom-node-append": "off", "unicorn/prefer-dom-node-dataset": "off", "unicorn/prefer-dom-node-remove": "off", - "unicorn/prefer-optional-catch-binding": "off", "unicorn/prefer-query-selector": "off", "unicorn/prefer-spread": "off", "unicorn/prevent-abbreviations": "off" diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json index e7f8d5d2a9..adde3105df 100644 --- a/js/tests/unit/.eslintrc.json +++ b/js/tests/unit/.eslintrc.json @@ -1,16 +1,8 @@ { - "root": true, "extends": [ "../../../.eslintrc.json" ], - "overrides": [ - { - "files": [ - "**/*.spec.js" - ], - "env": { - "jasmine": true - } - } - ] + "env": { + "jasmine": true + } }