aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rules/typescript/default.json14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 70058a1..0b2fd46 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -140,7 +140,19 @@
}
],
"@typescript-eslint/type-annotation-spacing": [
- "error"
+ "error",
+ {
+ "overrides": {
+ "arrow": {
+ "after": true,
+ "before": true
+ },
+ "colon": {
+ "after": true,
+ "before": false
+ }
+ }
+ }
],
"@typescript-eslint/typedef": [
"error",