mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-31 10:11:49 +08:00
- Add src/utils/log.ts: environment-aware logger that gates debug/info to dev mode while warn/error always emit, with [dc3] prefix - Wire logger into main.ts error handler - Apply prettier formatting: 2→4 space indentation (index.html), array element line breaks (tsconfig.json), generic type formatting (device.ts), and trailing slash cleanup Co-Authored-By: Claude <noreply@anthropic.com>
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"lib": [
|
|
"ESNext",
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ScriptHost"
|
|
],
|
|
"jsx": "preserve",
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
"types": [
|
|
"vite/client",
|
|
"element-plus/global"
|
|
],
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowJs": false,
|
|
"checkJs": false
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"src/**/*.d.ts",
|
|
"*.config.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"build"
|
|
]
|
|
}
|