@@ -14,36 +14,36 @@ export function perfectionist(): TypedFlatConfigItem[] {
1414 perfectionist : pluginPerfectionist ,
1515 } ,
1616 rules : {
17+ 'perfectionist/sort-exports' : [ 'error' , { order : 'asc' , type : 'natural' } ] ,
1718 'perfectionist/sort-imports' : [
1819 'warn' ,
1920 {
2021 groups : [
2122 'builtin' ,
2223 'external' ,
23- 'internal' ,
24- 'internal-type' ,
25- 'parent' ,
26- 'parent-type' ,
27- 'sibling' ,
28- 'sibling-type' ,
29- 'index' ,
30- 'index-type' ,
31- 'object' ,
3224 'type' ,
25+ [ 'internal' , 'internal-type' ] ,
26+ [ 'parent' , 'sibling' , 'index' ] ,
27+ [ 'parent-type' , 'sibling-type' , 'index-type' ] ,
28+ 'object' ,
3329 'side-effect' ,
3430 'side-effect-style' ,
31+ 'style' ,
32+ 'unknown' ,
3533 ] ,
3634 internalPattern : [ '~/**' , '@/**' , '#**' ] ,
3735 newlinesBetween : 'ignore' ,
36+ order : 'asc' ,
37+ type : 'natural' ,
3838 } ,
3939 ] ,
4040 'perfectionist/sort-named-exports' : [
4141 'warn' ,
42- { groupKind : 'values-first' } ,
42+ { groupKind : 'values-first' , order : 'asc' , type : 'natural' } ,
4343 ] ,
4444 'perfectionist/sort-named-imports' : [
4545 'warn' ,
46- { groupKind : 'values-first' } ,
46+ { groupKind : 'values-first' , order : 'asc' , type : 'natural' } ,
4747 ] ,
4848 } ,
4949 } ,
0 commit comments