Skip to content

Commit f268e6d

Browse files
authored
Merge pull request #14 from flowr-analysis/13-spacing-on-type-annotations
refactor(rules): spacing for type annotations
2 parents efb5477 + 0c37f12 commit f268e6d

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)