feat(eslint): Rule "brace-style"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-13 16:09:39 +04:00
parent 257f898e4b
commit 9cd13f4b41
2 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@
- [ ] "arrow-spacing" - [ ] "arrow-spacing"
- [ ] "block-scoped-var" - [ ] "block-scoped-var"
- [ ] "block-spacing" - [ ] "block-spacing"
- [ ] "brace-style" - [X] "brace-style"
- [ ] "callback-return" - [ ] "callback-return"
- [ ] "camelcase" - [ ] "camelcase"
- [ ] "capitalized-comments" - [ ] "capitalized-comments"

View File

@ -1,4 +1,11 @@
{ {
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": false
}
],
"comma-dangle": [ "comma-dangle": [
"error", "error",
"always-multiline" "always-multiline"