Files
pnokerandClaude afdac8930a feat(dc3-web): add unified logger and apply prettier formatting
- 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>
2026-07-09 12:52:10 +08:00

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"
]
}