Skip to content

Commit 0c37f12

Browse files
committed
refactor(rules): spacing for type annotations
1 parent efb5477 commit 0c37f12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ module.exports = {
199199
],
200200
"@typescript-eslint/consistent-type-imports": "error",
201201
"curly": "error",
202+
"@stylistic/type-annotation-spacing": [
203+
"error",
204+
{ "before": false, "after": true, "overrides": { "arrow": { "before": true, "after": true }} }
205+
],
202206
"@stylistic/js/brace-style": [
203207
"error",
204208
"1tbs"

0 commit comments

Comments
 (0)