From: moisseev Date: Sat, 31 Aug 2019 09:45:19 +0000 (+0300) Subject: [Test] Reorder ESLint rules X-Git-Tag: 2.0~299^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c65fbe4667ec839b4cc70cf17e69292aebbb196f;p=rspamd.git [Test] Reorder ESLint rules --- diff --git a/.eslintrc.json b/.eslintrc.json index bfc3fd6a5..1dace30fa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,6 +8,7 @@ }, "rules": { "array-bracket-newline": ["error", "consistent"], + "array-element-newline": "off", "brace-style": ["error", "1tbs", { "allowSingleLine": true }], "camelcase": "off", "capitalized-comments": "off", @@ -23,6 +24,7 @@ "key-spacing": ["error", { "singleLine": { "afterColon": false } }], + "line-comment-position": "off", "max-params": ["warn", 6], "max-statements": ["warn", 44], "max-statements-per-line": ["error", { "max": 2 }], @@ -32,6 +34,7 @@ "no-continue": "off", "no-extra-parens": ["error", "functions"], "no-implicit-globals": "off", + "no-inline-comments": "off", "no-magic-numbers": "off", "no-negated-condition": "off", "no-plusplus": "off", @@ -58,14 +61,11 @@ // Temporarily disabled rules - "array-element-newline": "off", "func-style": "off", "function-paren-newline": "off", - "line-comment-position": "off", "max-len": "off", "max-lines": "off", "max-lines-per-function": "off", - "no-inline-comments": "off", "no-invalid-this": "off", "sort-keys": "off", "sort-vars": "off"