File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export async function imports(options: OptionsStylistic = {}): Promise<TypedFlat
1919 'antfu/no-import-dist' : 'error' ,
2020 'antfu/no-import-node-modules-by-path' : 'error' ,
2121
22+ 'import/consistent-type-specifier-style' : [ 'error' , 'prefer-top-level' ] ,
2223 'import/first' : 'error' ,
2324 'import/no-duplicates' : 'error' ,
2425 'import/no-mutable-exports' : 'error' ,
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export async function typescript(
135135 'ts/consistent-type-definitions' : [ 'error' , 'interface' ] ,
136136 'ts/consistent-type-imports' : [ 'error' , {
137137 disallowTypeAnnotations : false ,
138+ fixStyle : 'separate-type-imports' ,
138139 prefer : 'type-imports' ,
139140 } ] ,
140141
You can’t perform that action at this time.
0 commit comments