diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:19:26 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:19:26 +0300 |
commit | 28a0661434c22f50dc8308742ab317b047deabe3 (patch) | |
tree | eb556d167031facb08c737668ced7271b10c1226 | |
parent | a9bbe9301d01b99e33d490fbd46393c35685beda (diff) | |
download | eslint-config-28a0661434c22f50dc8308742ab317b047deabe3.tar.xz eslint-config-28a0661434c22f50dc8308742ab317b047deabe3.zip |
feat(eslint): Rule "comma-dangle"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -17,7 +17,7 @@ - [ ] "camelcase" - [ ] "capitalized-comments" - [ ] "class-methods-use-this" -- [ ] "comma-dangle" +- [X] "comma-dangle" - [ ] "comma-spacing" - [ ] "comma-style" - [ ] "complexity" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 0498880..b15bed4 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -1,4 +1,8 @@ { + "comma-dangle": [ + "error", + "always-multiline" + ], "eol-last": [ "error", "always" |