aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:09:39 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:09:39 +0300
commit9cd13f4b4187e9f06e2cece6c94e097feae4d61e (patch)
treea51860a9f890c60c64d32b8ab4e9f53e76c65670 /src
parent257f898e4be76f9d460dde0542bf0ccfd9a9ecca (diff)
downloadeslint-config-9cd13f4b4187e9f06e2cece6c94e097feae4d61e.tar.xz
eslint-config-9cd13f4b4187e9f06e2cece6c94e097feae4d61e.zip
feat(eslint): Rule "brace-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 8363b48..0770287 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -1,4 +1,11 @@
{
+ "brace-style": [
+ "error",
+ "1tbs",
+ {
+ "allowSingleLine": false
+ }
+ ],
"comma-dangle": [
"error",
"always-multiline"