feat(eslint): Rule "brace-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
257f898e4b
commit
9cd13f4b41
@ -12,7 +12,7 @@
|
||||
- [ ] "arrow-spacing"
|
||||
- [ ] "block-scoped-var"
|
||||
- [ ] "block-spacing"
|
||||
- [ ] "brace-style"
|
||||
- [X] "brace-style"
|
||||
- [ ] "callback-return"
|
||||
- [ ] "camelcase"
|
||||
- [ ] "capitalized-comments"
|
||||
|
@ -1,4 +1,11 @@
|
||||
{
|
||||
"brace-style": [
|
||||
"error",
|
||||
"1tbs",
|
||||
{
|
||||
"allowSingleLine": false
|
||||
}
|
||||
],
|
||||
"comma-dangle": [
|
||||
"error",
|
||||
"always-multiline"
|
||||
|
Loading…
x
Reference in New Issue
Block a user