Skip to content

Commit

Permalink
fix: only enable ts rules for ts files, fix #498
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 8, 2024
1 parent 5a46487 commit 87142e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export async function typescript(
} = options

const files = options.files ?? [
GLOB_SRC,
GLOB_TS,
GLOB_TSX,
...componentExts.map(ext => `**/*.${ext}`),
]

Expand Down

0 comments on commit 87142e1

Please sign in to comment.