diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:09:39 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:09:39 +0300 |
commit | 9cd13f4b4187e9f06e2cece6c94e097feae4d61e (patch) | |
tree | a51860a9f890c60c64d32b8ab4e9f53e76c65670 | |
parent | 257f898e4be76f9d460dde0542bf0ccfd9a9ecca (diff) | |
download | eslint-config-9cd13f4b4187e9f06e2cece6c94e097feae4d61e.tar.xz eslint-config-9cd13f4b4187e9f06e2cece6c94e097feae4d61e.zip |
feat(eslint): Rule "brace-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -12,7 +12,7 @@ - [ ] "arrow-spacing" - [ ] "block-scoped-var" - [ ] "block-spacing" -- [ ] "brace-style" +- [X] "brace-style" - [ ] "callback-return" - [ ] "camelcase" - [ ] "capitalized-comments" 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" |