diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-15 17:26:12 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-07-15 17:26:12 +0300 |
commit | ab72e301244e22f10463bfbf744ad95da4f7e9f9 (patch) | |
tree | bd3c6fee12eb8d3237a25dc00e04827d7d9733bf /.eslintrc.json | |
parent | 5771b12d4e02543a2b3e96e095dbcf20f10e7588 (diff) | |
download | rspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.tar.gz rspamd-ab72e301244e22f10463bfbf744ad95da4f7e9f9.zip |
[Minor] Use consistent brace style for blocks (1tbs)
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 3e52ed7f8..d62daffcf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,6 +8,7 @@ }, "rules": { "array-bracket-newline": ["error", "consistent"], + "brace-style": ["error", "1tbs", { "allowSingleLine": true }], "camelcase": "off", "capitalized-comments": "off", "comma-dangle": ["error", "only-multiline"], @@ -49,7 +50,6 @@ // Temporarily disabled rules "array-callback-return": "off", "array-element-newline": "off", - "brace-style": "off", "callback-return": "off", "consistent-return": "off", "consistent-this": "off", |