Skip to content

Commit

Permalink
feat(typescript)!: force inline-type-imports
Browse files Browse the repository at this point in the history
I always use this in new projects.
  • Loading branch information
mlaursen committed Sep 22, 2023
1 parent 8a60823 commit e934b6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ module.exports = {
files: ["**/*.ts", "**/*.tsx"],
extends: ["plugin:@typescript-eslint/recommended"],
rules: {
"@typescript-eslint/consistent-type-imports": [
"error",
{ fixStyle: "inline-type-imports" },
],

// I want correct tsdoc syntax
"tsdoc/syntax": "warn",

Expand Down

0 comments on commit e934b6e

Please sign in to comment.