集成ESLint代码规范校验

This commit is contained in:
ray
2024-09-18 00:23:06 +08:00
parent 3a70cb6724
commit 08c6855f49
3 changed files with 48 additions and 6 deletions

5
src/env.d.ts vendored
View File

@@ -1,8 +1,7 @@
/// <reference types="vite/client" />
declare module '*.vue' {
import { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
declare module "*.vue" {
import { DefineComponent } from "vue"
const component: DefineComponent<{}, {}, any>
export default component
}