Skip to content

Commit a4bfc2b

Browse files
committedNov 19, 2024··
fix(sort-imports): sort default internal pattern
1 parent 250a20e commit a4bfc2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎rules/sort-imports.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default createEslintRule<Options<string[]>, MESSAGE_ID>({
112112
'unknown',
113113
],
114114
customGroups: { value: {}, type: {} },
115-
internalPattern: ['^~/.*'],
115+
internalPattern: ['^~/.+'],
116116
partitionByComment: false,
117117
partitionByNewLine: false,
118118
newlinesBetween: 'always',
@@ -697,10 +697,10 @@ export default createEslintRule<Options<string[]>, MESSAGE_ID>({
697697
'unknown',
698698
],
699699
customGroups: { value: {}, type: {} },
700+
internalPattern: ['^~/.+'],
700701
partitionByComment: false,
701702
partitionByNewLine: false,
702703
specialCharacters: 'keep',
703-
internalPattern: ['~/**'],
704704
newlinesBetween: 'always',
705705
sortSideEffects: false,
706706
type: 'alphabetical',

0 commit comments

Comments
 (0)
Please sign in to comment.