File tree 3 files changed +1
-3
lines changed
3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ module.exports = defineConfig({
77
77
'@typescript-eslint/no-var-requires' : 'off' ,
78
78
'@typescript-eslint/consistent-type-imports' : [
79
79
'error' ,
80
- { prefer : 'type-imports' } ,
80
+ { prefer : 'type-imports' , disallowTypeAnnotations : false } ,
81
81
] ,
82
82
// disable rules set in @typescript -eslint/stylistic v6 that wasn't set in @typescript-eslint/recommended v5 and which conflict with current code
83
83
// maybe we should turn them on in a new PR
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ import {
36
36
} from './snippets'
37
37
38
38
// lazy load babel since it's not used during dev
39
- // eslint-disable-next-line @typescript-eslint/consistent-type-imports
40
39
let babel : typeof import ( '@babel/core' ) | undefined
41
40
async function loadBabel ( ) {
42
41
if ( ! babel ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { createRequire } from 'node:module'
4
4
import { createFilter , isInNodeModules , safeRealpathSync } from './utils'
5
5
import type { Plugin } from './plugin'
6
6
7
- // eslint-disable-next-line @typescript-eslint/consistent-type-imports
8
7
let pnp : typeof import ( 'pnpapi' ) | undefined
9
8
if ( process . versions . pnp ) {
10
9
try {
You can’t perform that action at this time.
0 commit comments