From: moisseev Date: Fri, 22 Nov 2019 19:18:31 +0000 (+0300) Subject: [Test] Ignore new ESLint warnings X-Git-Tag: 2.3~307^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3161%2Fhead;p=thirdparty%2Frspamd.git [Test] Ignore new ESLint warnings --- diff --git a/.eslintrc.json b/.eslintrc.json index 1dace30fa9..2dc3ebc511 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" }