feat(eslint): Rule "arrow-spacing"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 16:40:40 +04:00
parent 799b6c9f21
commit 3ed46834aa
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -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"

View File

@ -3,6 +3,13 @@
"error",
"always"
],
"arrow-spacing": [
"error",
{
"after": true,
"before": true
}
],
"brace-style": [
"error",
"1tbs",