File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ module.exports = defineConfig({
7777 '@typescript-eslint/no-var-requires' : 'off' ,
7878 '@typescript-eslint/consistent-type-imports' : [
7979 'error' ,
80- { prefer : 'type-imports' } ,
80+ { prefer : 'type-imports' , disallowTypeAnnotations : false } ,
8181 ] ,
8282 // disable rules set in @typescript -eslint/stylistic v6 that wasn't set in @typescript-eslint/recommended v5 and which conflict with current code
8383 // 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 {
3636} from './snippets'
3737
3838// lazy load babel since it's not used during dev
39- // eslint-disable-next-line @typescript-eslint/consistent-type-imports
4039let babel : typeof import ( '@babel/core' ) | undefined
4140async function loadBabel ( ) {
4241 if ( ! babel ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { createRequire } from 'node:module'
44import { createFilter , isInNodeModules , safeRealpathSync } from './utils'
55import type { Plugin } from './plugin'
66
7- // eslint-disable-next-line @typescript-eslint/consistent-type-imports
87let pnp : typeof import ( 'pnpapi' ) | undefined
98if ( process . versions . pnp ) {
109 try {
You can’t perform that action at this time.
0 commit comments