commit 5d32e84: [Test] Ignore new ESLint warnings

moisseev moiseev at mezonplus.ru
Fri Nov 22 19:28:07 UTC 2019


Author: moisseev
Date: 2019-11-22 22:18:31 +0300
URL: https://github.com/rspamd/rspamd/commit/5d32e84843f814c63a44746d02106959cfe86855 (refs/pull/3161/head)

[Test] Ignore new ESLint warnings

---
 .eslintrc.json | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index 1dace30fa..2dc3ebc51 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -21,9 +21,9 @@
         "id-length": ["error", { "min": 1 }],
         "indent": ["error", 4, { "SwitchCase": 1 }],
         // "max-len": ["error", { "code": 120 }],
-        "key-spacing": ["error", {
-            "singleLine": { "afterColon": false }
-        }],
+        // "key-spacing": ["error", {
+        //     "singleLine": { "afterColon": false }
+        // }],
         "line-comment-position": "off",
         "max-params": ["warn", 6],
         "max-statements": ["warn", 44],
@@ -63,10 +63,12 @@
         // Temporarily disabled rules
         "func-style": "off",
         "function-paren-newline": "off",
+        "key-spacing": "off",
         "max-len": "off",
         "max-lines": "off",
         "max-lines-per-function": "off",
         "no-invalid-this": "off",
+        "prefer-exponentiation-operator": "off",
         "sort-keys": "off",
         "sort-vars": "off"
     }


More information about the Commits mailing list