abissinskiy/tsconfig.json
seth b73dfc84dd feat: initialize project with Home Assistant integration
- Added index.ts for connecting to Home Assistant and subscribing to entities.
- Implemented function to calculate sleep time from sensor data.
- Created package.json with dependencies for TypeScript and Home Assistant WebSocket.
- Configured tsconfig.json for TypeScript with strict settings and ESNext features.
2025-05-13 14:18:56 -04:00

28 lines
679 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}