feat(eslint): Rule "comma-dangle"

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-02-13 15:19:26 +04:00
parent a9bbe9301d
commit 28a0661434
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -1,4 +1,8 @@
{ {
"comma-dangle": [
"error",
"always-multiline"
],
"eol-last": [ "eol-last": [
"error", "error",
"always" "always"