1 Star 0 Fork 0

home-assistant/frontend

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
renovate[bot] 提交于 2024-02-13 06:53 +08:00 . Update dependency prettier to v3.2.5 (#19711)
{
"compilerOptions": {
// Language Options
"target": "ES2021",
"lib": ["ES2021", "DOM", "DOM.Iterable", "WebWorker"],
"experimentalDecorators": true,
// Modules
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
// Babel handles transpiling and no need for declaration files
"noEmit": true,
// Caching
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/typescript/.tsbuildinfo",
// Type checking options
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"strict": true,
"noImplicitAny": false,
// Do not check type declaration files
"skipLibCheck": true,
// Interop with CommonJS and other tools
"esModuleInterop": true,
"isolatedModules": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true,
"rules": {
// Custom elements
"no-unknown-tag-name": "error",
"no-missing-import": "error",
"no-missing-element-type-definition": "error",
// Binding names
"no-unknown-attribute": "off",
"no-legacy-attribute": "error",
// Binding types
"no-incompatible-type-binding": "warning",
// LitElement
"no-property-visibility-mismatch": "error",
// CSS
"no-invalid-css": "off" // warning does not work
},
"globalTags": ["google-cast-launcher"],
"customHtmlData": [
"./node_modules/@lrnwebcomponents/simple-tooltip/custom-elements.json"
]
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/home-assistant_1/frontend.git
git@gitee.com:home-assistant_1/frontend.git
home-assistant_1
frontend
frontend
dev

搜索帮助