diff --git a/packages/vite/src/types/shims.d.ts b/packages/vite/src/types/shims.d.ts index de2875bd239cfd..03b1941201b17f 100644 --- a/packages/vite/src/types/shims.d.ts +++ b/packages/vite/src/types/shims.d.ts @@ -41,7 +41,7 @@ declare module 'postcss-import' { // so we have to shim it declare interface HTMLLinkElement {} -// eslint-disable-next-line no-var, @typescript-eslint/consistent-type-imports +// eslint-disable-next-line no-var declare var __vite_profile_session: import('node:inspector').Session | undefined // eslint-disable-next-line no-var declare var __vite_start_time: number | undefined diff --git a/packages/vite/types/importMeta.d.ts b/packages/vite/types/importMeta.d.ts index da338b6833bed6..e9047a78117d82 100644 --- a/packages/vite/types/importMeta.d.ts +++ b/packages/vite/types/importMeta.d.ts @@ -2,8 +2,6 @@ // Thus cannot contain any top-level imports // -/* eslint-disable @typescript-eslint/consistent-type-imports */ - interface ImportMetaEnv { [key: string]: any BASE_URL: string diff --git a/playground/resolve/exports-with-module-condition-required/index.cjs b/playground/resolve/exports-with-module-condition-required/index.cjs index b06508a52c8cc2..ad43e63153349d 100644 --- a/playground/resolve/exports-with-module-condition-required/index.cjs +++ b/playground/resolve/exports-with-module-condition-required/index.cjs @@ -1,3 +1,2 @@ -/* eslint-disable import/no-commonjs */ const { msg } = require('@vitejs/test-resolve-exports-with-module-condition') module.exports = { msg }