aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-09-19 20:17:04 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-09-19 20:17:04 +0300
commit193ded1291433dc166018ca52fe50b0522a13a9b (patch)
treec106f85b96a5e02c33e574173b9ee6531f4974d5 /.eslintrc.json
parentddcd7e04181538b9c9b138c3eb9a734d9123144b (diff)
downloadrspamd-193ded1291433dc166018ca52fe50b0522a13a9b.tar.gz
rspamd-193ded1291433dc166018ca52fe50b0522a13a9b.zip
[Minor] Use consistent return behavior
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json3
1 files changed, 1 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index fe3ace7c3..8f33f636c 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -43,6 +43,7 @@
"padded-blocks": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
+ "prefer-spread": "off",
"prefer-template": "off",
"quote-props" : ["error", "consistent-as-needed"],
"require-jsdoc": "off",
@@ -57,7 +58,6 @@
// Temporarily disabled rules
"array-callback-return": "off",
"array-element-newline": "off",
- "consistent-return": "off",
"consistent-this": "off",
"func-style": "off",
"function-paren-newline": "off",
@@ -69,7 +69,6 @@
"no-invalid-this": "off",
"no-underscore-dangle": "off",
"one-var-declaration-per-line": "off",
- "prefer-spread": "off",
"sort-keys": "off",
"sort-vars": "off"
}