From 28a0661434c22f50dc8308742ab317b047deabe3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 15:19:26 +0400 Subject: feat(eslint): Rule "comma-dangle" Signed-off-by: Valentin Popov --- ROADMAP.md | 2 +- src/rules/eslint.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ROADMAP.md b/ROADMAP.md index c6f9b22..4a13009 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -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" -- cgit v1.2.3