Skip to content

Commit a34468c

Browse files
committed
Fix import type
1 parent 440884e commit a34468c

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ module.exports = {
3030
],
3131
'@typescript-eslint/consistent-type-assertions': 'error',
3232
'@typescript-eslint/consistent-type-definitions': 'error',
33-
'@typescript-eslint/consistent-type-imports': [
34-
'error',
35-
{
36-
prefer: 'type-imports',
37-
fixStyle: 'inline-type-imports',
38-
},
39-
],
33+
'@typescript-eslint/consistent-type-imports': 'error',
4034
'@typescript-eslint/explicit-function-return-type': [
4135
'error',
4236
{ allowExpressions: true },

tests/helpers/format.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { format as prettierFormat, type Plugin } from 'prettier';
1+
import type { Plugin } from 'prettier';
2+
import { format as prettierFormat } from 'prettier';
23
import { PARSER_NAME } from '../../src/config.js';
34
import plugin from '../../src/main.js';
45
import type { Options } from '../../src/options.js';

0 commit comments

Comments
 (0)