Skip to content

Commit 87142e1

Browse files
committedJun 8, 2024··
fix: only enable ts rules for ts files, fix #498
1 parent 5a46487 commit 87142e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/configs/typescript.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export async function typescript(
1414
} = options
1515

1616
const files = options.files ?? [
17-
GLOB_SRC,
17+
GLOB_TS,
18+
GLOB_TSX,
1819
...componentExts.map(ext => `**/*.${ext}`),
1920
]
2021

0 commit comments

Comments
 (0)
Please sign in to comment.