feat(eslint): Rule "arrow-spacing"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
799b6c9f21
commit
3ed46834aa
@ -9,7 +9,7 @@
|
||||
- [ ] "array-element-newline"
|
||||
- [ ] "arrow-body-style"
|
||||
- [X] "arrow-parens"
|
||||
- [ ] "arrow-spacing"
|
||||
- [X] "arrow-spacing"
|
||||
- [ ] "block-scoped-var"
|
||||
- [ ] "block-spacing"
|
||||
- [X] "brace-style"
|
||||
|
@ -3,6 +3,13 @@
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"arrow-spacing": [
|
||||
"error",
|
||||
{
|
||||
"after": true,
|
||||
"before": true
|
||||
}
|
||||
],
|
||||
"brace-style": [
|
||||
"error",
|
||||
"1tbs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user