summaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-11-20 14:15:56 +0300
committermoisseev <moiseev@mezonplus.ru>2023-11-20 14:15:56 +0300
commitb8cd1edebce5a60d3c67b31b15cc930d4d64dc57 (patch)
tree05a18901e28f8d2ee7e4099e4cacd990c21f8c97 /.eslintrc.json
parent5667878f06839c25fd6867d7ec3ef5b22bdccf84 (diff)
downloadrspamd-b8cd1edebce5a60d3c67b31b15cc930d4d64dc57.tar.gz
rspamd-b8cd1edebce5a60d3c67b31b15cc930d4d64dc57.zip
[Minor] Use consistent function style
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 bac88d248..cc08714b5 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -18,7 +18,7 @@
"capitalized-comments": "off",
"curly": ["error", "multi-line"],
"func-names": "off",
- // "func-style": ["error", "declaration"],
+ "func-style": ["error", "declaration"],
"id-length": ["error", { "min": 1 }],
"line-comment-position": "off",
"logical-assignment-operators": ["error", "never"],
@@ -65,7 +65,6 @@
// Temporarily disabled rules
- "func-style": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"no-invalid-this": "off",