aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-09-16 19:31:14 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-09-16 19:31:14 +0300
commit264c8b3d079012d499dafea682888ad2d3f8265f (patch)
tree9e4c8da5a341a3729c87f39d8ea82d922aa2f1ac /.eslintrc.json
parentdff3186aa7c0020d0fb3fad7950dbcf4bee6a36f (diff)
downloadrspamd-264c8b3d079012d499dafea682888ad2d3f8265f.tar.gz
rspamd-264c8b3d079012d499dafea682888ad2d3f8265f.zip
[Minor] Enforce consistent key-value spacing
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index b04b72b4b..fd33c6de2 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -19,6 +19,9 @@
"id-length": ["error", { "min": 1 }],
"indent": ["error", 4, { "SwitchCase": 1 }],
// "max-len": ["error", { "code": 120 }],
+ "key-spacing": ["error", {
+ "singleLine": { "afterColon": false }
+ }],
"max-params": ["warn", 6],
"max-statements": ["warn", 28],
"max-statements-per-line": ["error", { "max": 2 }],
@@ -58,7 +61,6 @@
"func-style": "off",
"function-paren-newline": "off",
"guard-for-in": "off",
- "key-spacing": "off",
"line-comment-position": "off",
"max-len": "off",
"max-lines": "off",