From 5bcd6a29cd347657889709f54af90c45d969758b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 26 Feb 2019 15:13:59 +0200 Subject: [PATCH] Disable a few rules for now. --- .eslintrc.json | 8 +++++++- js/tests/unit/.eslintrc.json | 5 ++++- site/.eslintrc.json | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 384bfcbbce..e0fa201bc1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -26,6 +26,8 @@ "error", "always-multiline" ], + "new-cap": "off", + "no-mixed-operators": "off", "object-curly-spacing": [ "error", "always" @@ -41,7 +43,11 @@ "error", "never" ], + "unicorn/explicit-length-check": "off", "unicorn/filename-case": "off", - "unicorn/no-unused-properties": "error" + "unicorn/import-index": "off", + "unicorn/no-unused-properties": "error", + "unicorn/prefer-node-append": "off", + "unicorn/prefer-query-selector": "off" } } diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json index cafe9c04e5..c8b3c9170c 100644 --- a/js/tests/unit/.eslintrc.json +++ b/js/tests/unit/.eslintrc.json @@ -42,6 +42,7 @@ "error", "always-multiline" ], + "new-cap": "off", "object-curly-spacing": [ "error", "always" @@ -52,6 +53,8 @@ ], "strict": "error", "unicorn/filename-case": "off", - "unicorn/no-unused-properties": "error" + "unicorn/no-unused-properties": "error", + "unicorn/prefer-node-append": "off", + "unicorn/prefer-query-selector": "off" } } diff --git a/site/.eslintrc.json b/site/.eslintrc.json index 8c2cffef79..0cf2585505 100644 --- a/site/.eslintrc.json +++ b/site/.eslintrc.json @@ -22,6 +22,7 @@ "error", "always-multiline" ], + "no-new": "off", "object-curly-spacing": [ "error", "always"