Skip to content

Commit 28e306d

Browse files
committed
feat: support sort jsconfig
1 parent 61fd52c commit 28e306d

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
@@ -113,7 +113,7 @@ export function sortPackageJson(): TypedFlatConfigItem[] {
113113
export function sortTsconfig(): TypedFlatConfigItem[] {
114114
return [
115115
{
116-
files: ['**/tsconfig.json', '**/tsconfig.*.json'],
116+
files: ['**/[jt]sconfig.json', '**/[jt]sconfig.*.json'],
117117
name: 'coderwyd/sort/tsconfig-json',
118118
rules: {
119119
'jsonc/sort-keys': [

0 commit comments

Comments
 (0)