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"
- [ ] "class-methods-use-this"
- [X] "comma-dangle"
- [ ] "comma-spacing"
- [X] "comma-spacing"
- [ ] "comma-style"
- [ ] "complexity"
- [ ] "computed-property-spacing"

View File

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