feat(eslint): Rule "comma-style"

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

View File

@ -19,7 +19,7 @@
- [X] "class-methods-use-this" - [X] "class-methods-use-this"
- [X] "comma-dangle" - [X] "comma-dangle"
- [X] "comma-spacing" - [X] "comma-spacing"
- [ ] "comma-style" - [X] "comma-style"
- [ ] "complexity" - [ ] "complexity"
- [ ] "computed-property-spacing" - [ ] "computed-property-spacing"
- [ ] "consistent-return" - [ ] "consistent-return"

View File

@ -48,6 +48,13 @@
"before": false "before": false
} }
], ],
"comma-style": [
"error",
"last",
{
"exceptions": {}
}
],
"dot-notation": [ "dot-notation": [
"error", "error",
{ {