feat(eslint): Rule "comma-spacing"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 22:59:28 +04:00
parent d7fea402cf
commit d1751228f2
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 8 additions and 1 deletions

View File

@ -18,7 +18,7 @@
- [ ] "capitalized-comments" - [ ] "capitalized-comments"
- [ ] "class-methods-use-this" - [ ] "class-methods-use-this"
- [X] "comma-dangle" - [X] "comma-dangle"
- [ ] "comma-spacing" - [X] "comma-spacing"
- [ ] "comma-style" - [ ] "comma-style"
- [ ] "complexity" - [ ] "complexity"
- [ ] "computed-property-spacing" - [ ] "computed-property-spacing"

View File

@ -21,6 +21,13 @@
"error", "error",
"always-multiline" "always-multiline"
], ],
"comma-spacing": [
"error",
{
"after": true,
"before": false
}
],
"eol-last": [ "eol-last": [
"error", "error",
"always" "always"