diff options
author | moisseev <moiseev@mezonplus.ru> | 2023-11-20 14:00:56 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2023-11-20 14:00:56 +0300 |
commit | 5667878f06839c25fd6867d7ec3ef5b22bdccf84 (patch) | |
tree | fa65a385ffe9463ea45498dcd1d69d704623c559 /.eslintrc.json | |
parent | 01d048664f1e5e164babd718a088c36e2bd10e7c (diff) | |
download | rspamd-5667878f06839c25fd6867d7ec3ef5b22bdccf84.tar.gz rspamd-5667878f06839c25fd6867d7ec3ef5b22bdccf84.zip |
[Minor] Use multiple variable declarations
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 3a7eb3f0b..bac88d248 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -32,7 +32,7 @@ "no-plusplus": "off", "no-ternary": "off", "object-shorthand": "off", - "one-var": "off", + "one-var": ["error", { "initialized": "never" }], "prefer-arrow-callback": "off", "prefer-destructuring": "off", "prefer-named-capture-group": "off", @@ -71,9 +71,7 @@ "no-invalid-this": "off", "prefer-exponentiation-operator": "off", "sort-keys": "off", - "sort-vars": "off", - "@stylistic/function-paren-newline": "off", - "@stylistic/one-var-declaration-per-line": "off" + "@stylistic/function-paren-newline": "off" } } |