mirror of
https://github.com/GeorgeSG/lovelace-time-picker-card.git
synced 2026-11-02 03:08:45 +00:00
26 lines
967 B
JSON
26 lines
967 B
JSON
{
|
|
// TypeScript stays on the 6.0 line: typescript-eslint declares a peer range of
|
|
// >=4.8.4 <6.1.0, and @rollup/plugin-typescript needs the JS compiler API
|
|
// that the native (7.x) compiler does not expose yet.
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2021", "DOM", "DOM.Iterable"],
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
// Lit reactive properties rely on TypeScript's legacy decorators. Keep
|
|
// useDefineForClassFields off: it defaults to true for target >= ES2022 and
|
|
// then class fields silently shadow the accessors that @property() installs.
|
|
"experimentalDecorators": true,
|
|
"useDefineForClassFields": false
|
|
},
|
|
"include": ["src", "test", "vitest.config.ts"]
|
|
}
|