Skip to content

Commit

Permalink
feat(astro): add typescript import resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
theurgi committed Feb 28, 2023
1 parent 4fc8d65 commit ab95074
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rules/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ export = defineConfig(
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.astro'],
},

settings: {
'import/resolver': {
typescript: {},
},
},
},
],
}
Expand Down

0 comments on commit ab95074

Please sign in to comment.