Skip to content

Commit 5dff7e4

Browse files
authored
feat: support sort jsconfig (#733)
1 parent 9ee89a7 commit 5dff7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configs/sort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export async function sortPackageJson(): Promise<TypedFlatConfigItem[]> {
117117
export function sortTsconfig(): TypedFlatConfigItem[] {
118118
return [
119119
{
120-
files: ['**/tsconfig.json', '**/tsconfig.*.json'],
120+
files: ['**/[jt]sconfig.json', '**/[jt]sconfig.*.json'],
121121
name: 'antfu/sort/tsconfig-json',
122122
rules: {
123123
'jsonc/sort-keys': [

0 commit comments

Comments
 (0)