Skip to content

Commit

Permalink
Consistently use type-only imports when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Sep 12, 2021
1 parent e759147 commit f9851a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"no-confusing-arrow": "off",
"no-const-assign": "error",
"no-dupe-class-members": "off", // incompatible with method overload signatures
"no-duplicate-imports": "error",
"no-duplicate-imports": "off", // replaced with @typescript-eslint/no-duplicate-imports below
"no-new-symbol": "error",
"no-this-before-super": "error",
"no-useless-computed-key": "error",
Expand Down Expand Up @@ -270,6 +270,8 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-useless-constructor": "error"
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/consistent-type-imports": "error"
}
}

0 comments on commit f9851a5

Please sign in to comment.