style: 统一代码格式和类型定义,测试eslint --fix, 还是有报错

This commit is contained in:
feige996
2025-06-21 16:56:24 +08:00
parent 9cf0c212bf
commit 227f19a93c
40 changed files with 396 additions and 367 deletions

View File

@@ -1,21 +1,15 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"lib": ["esnext", "dom"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"noImplicitThis": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"@img/*": ["./src/static/*"]
},
"outDir": "dist",
"lib": ["esnext", "dom"],
"resolveJsonModule": true,
"types": [
"@dcloudio/types",
"@uni-helper/uni-types",
@@ -23,12 +17,17 @@
"wot-design-uni/global.d.ts",
"z-paging/types",
"./src/typings.d.ts"
]
],
"allowJs": true,
"noImplicitThis": true,
"sourceMap": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"outDir": "dist"
},
"vueCompilerOptions": {
"plugins": ["@uni-helper/uni-types/volar-plugin"]
},
"exclude": ["node_modules"],
"include": [
"src/**/*.ts",
"src/**/*.js",
@@ -37,5 +36,6 @@
"src/**/*.jsx",
"src/**/*.vue",
"src/**/*.json"
]
],
"exclude": ["node_modules"]
}