🔧 优化 eslint 配置

This commit is contained in:
BTMuli
2023-10-10 22:29:57 +08:00
parent 9a25e387aa
commit 5c2bb4e5af
5 changed files with 273 additions and 52 deletions

View File

@@ -12,12 +12,17 @@
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"types": ["vite/client"]
"types": ["vite/client"],
"allowSyntheticDefaultImports": true,
"composite": true
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [
{
"path": "./tsconfig.node.json"
}
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.vue",
"vite.config.ts",
"tsconfig.json",
".yml",
"package.json"
]
}