summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json10
2 files changed, 11 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 19cd00e..8f44599 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -390,7 +390,7 @@
- [ ] "brace-style"
- [ ] "camelcase"
- [ ] "class-name-casing"
-- [ ] "comma-spacing"
+- [X] "comma-spacing"
- [ ] "consistent-type-assertions"
- [ ] "consistent-type-definitions"
- [ ] "default-param-last"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index e888c02..a5c0937 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -2,6 +2,13 @@
"@typescript-eslint/await-thenable": [
"error"
],
+ "@typescript-eslint/comma-spacing": [
+ "error",
+ {
+ "after": true,
+ "before": false
+ }
+ ],
"@typescript-eslint/indent": [
"error",
"tab",
@@ -172,6 +179,9 @@
"variableDeclaration": true
}
],
+ "comma-spacing": [
+ "off"
+ ],
"indent": [
"off"
],