File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export function imports(): TypedFlatConfigItem[] {
14
14
'antfu/no-import-dist' : 'error' ,
15
15
'antfu/no-import-node-modules-by-path' : 'error' ,
16
16
17
+ 'import/consistent-type-specifier-style' : [ 'error' , 'prefer-top-level' ] ,
17
18
'import/first' : 'error' ,
18
19
'import/no-duplicates' : 'error' ,
19
20
'import/no-mutable-exports' : 'error' ,
Original file line number Diff line number Diff line change @@ -141,7 +141,11 @@ export async function typescript(
141
141
'ts/consistent-type-definitions' : [ 'error' , 'interface' ] ,
142
142
'ts/consistent-type-imports' : [
143
143
'error' ,
144
- { disallowTypeAnnotations : false , prefer : 'type-imports' } ,
144
+ {
145
+ disallowTypeAnnotations : false ,
146
+ fixStyle : 'separate-type-imports' ,
147
+ prefer : 'type-imports' ,
148
+ } ,
145
149
] ,
146
150
'ts/method-signature-style' : [ 'error' , 'property' ] , // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
147
151
'ts/no-dupe-class-members' : 'error' ,
You can’t perform that action at this time.
0 commit comments