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"
|
- [ ] "array-element-newline"
|
||||||
- [ ] "arrow-body-style"
|
- [ ] "arrow-body-style"
|
||||||
- [X] "arrow-parens"
|
- [X] "arrow-parens"
|
||||||
- [ ] "arrow-spacing"
|
- [X] "arrow-spacing"
|
||||||
- [ ] "block-scoped-var"
|
- [ ] "block-scoped-var"
|
||||||
- [ ] "block-spacing"
|
- [ ] "block-spacing"
|
||||||
- [X] "brace-style"
|
- [X] "brace-style"
|
||||||
|
@ -3,6 +3,13 @@
|
|||||||
"error",
|
"error",
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
|
"arrow-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"brace-style": [
|
"brace-style": [
|
||||||
"error",
|
"error",
|
||||||
"1tbs",
|
"1tbs",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user