diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-09-15 18:32:40 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-09-15 18:32:40 +0300 |
commit | c73e007d787c4df0499cee55b0c03ccd39edc410 (patch) | |
tree | 3a657769c1c61451dea8700a72351131d00765f7 /.eslintrc.json | |
parent | 458642949a14fdabe5c85696f1ee23d50695d07f (diff) | |
download | rspamd-c73e007d787c4df0499cee55b0c03ccd39edc410.tar.gz rspamd-c73e007d787c4df0499cee55b0c03ccd39edc410.zip |
[Minor] Drop Crockford's `switch` indentation
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index b48d887db..bf4c767c9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -17,6 +17,7 @@ "func-names": "off", // "func-style": ["error", "declaration"], "id-length": ["error", { "min": 1 }], + "indent": ["error", 4, { "SwitchCase": 1 }], // "max-len": ["error", { "code": 120 }], "max-params": ["warn", 6], "max-statements": ["warn", 28], @@ -55,10 +56,8 @@ "callback-return": "off", "consistent-return": "off", "consistent-this": "off", - "default-case": "off", "func-style": "off", "function-paren-newline": "off", - "global-require": "off", "guard-for-in": "off", "key-spacing": "off", "line-comment-position": "off", |