diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 01:49:13 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 01:49:13 +0300 |
commit | a0d10caa644890ff8c765b8e99e4d3e525f2ea19 (patch) | |
tree | d873242bb987d3b3f3c8775c44a9f1e9854bd6a3 | |
parent | 0d76fb6495e82b1dbed0981246f272badd4dc98b (diff) | |
download | eslint-config-a0d10caa644890ff8c765b8e99e4d3e525f2ea19.tar.xz eslint-config-a0d10caa644890ff8c765b8e99e4d3e525f2ea19.zip |
feat(eslint): Rule "comma-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -19,7 +19,7 @@ - [X] "class-methods-use-this" - [X] "comma-dangle" - [X] "comma-spacing" -- [ ] "comma-style" +- [X] "comma-style" - [ ] "complexity" - [ ] "computed-property-spacing" - [ ] "consistent-return" diff --git a/src/rules/default.json b/src/rules/default.json index aad6552..b5f90ed 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -48,6 +48,13 @@ "before": false } ], + "comma-style": [ + "error", + "last", + { + "exceptions": {} + } + ], "dot-notation": [ "error", { |