Skip to content

Commit

Permalink
chore: fix eslint warnings (#14031)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Aug 7, 2023
1 parent 4479431 commit 4021a0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion packages/vite/src/types/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions packages/vite/types/importMeta.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// Thus cannot contain any top-level imports
// <https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation>

/* eslint-disable @typescript-eslint/consistent-type-imports */

interface ImportMetaEnv {
[key: string]: any
BASE_URL: string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/* eslint-disable import/no-commonjs */
const { msg } = require('@vitejs/test-resolve-exports-with-module-condition')
module.exports = { msg }

0 comments on commit 4021a0e

Please sign in to comment.