summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 4b50fcc..8929c31 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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",
{