Skip to content

Commit

Permalink
fix: add default extraFileExtensions to type aware rules
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Oct 23, 2023
1 parent 8b5cb99 commit 0a9bce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/typescript.ts
Expand Up @@ -54,6 +54,7 @@ export function typescript(
languageOptions: {
parser: parserTs,
parserOptions: {
extraFileExtensions: componentExts.map(ext => `.${ext}`),
sourceType: 'module',
...tsconfigPath
? {
Expand Down

0 comments on commit 0a9bce9

Please sign in to comment.