feat(eslint): Rule "brace-style"

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

View File

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

View File

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