summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index c43d0f6..c7c39b6 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -409,7 +409,7 @@
- [X] "strict-boolean-expressions"
- [ ] "switch-exhaustiveness-check"
- [ ] "triple-slash-reference"
-- [ ] "type-annotation-spacing"
+- [X] "type-annotation-spacing"
- [ ] "typedef"
- [ ] "unbound-method"
- [ ] "unified-signatures"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 26bd453..3c10f32 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -101,6 +101,13 @@
"ignoreRhs": false
}
],
+ "@typescript-eslint/type-annotation-spacing": [
+ "error",
+ {
+ "after": true,
+ "before": false
+ }
+ ],
"indent": [
"off"
],