Lint for unknown tags and turn off unknow attribute check (#19439)
This commit is contained in:
parent
7398c6ab3e
commit
9bad3c8101
|
@ -114,6 +114,7 @@ export class HuiLightCard extends LitElement implements LovelaceCard {
|
|||
<div class="content">
|
||||
<div id="controls">
|
||||
<div id="slider">
|
||||
<!-- @ts-ignore Round-slider has no tag definition or exported type -->
|
||||
<round-slider
|
||||
min="1"
|
||||
max="100"
|
||||
|
|
|
@ -31,9 +31,11 @@
|
|||
"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",
|
||||
|
@ -42,7 +44,11 @@
|
|||
"no-property-visibility-mismatch": "warning",
|
||||
// CSS
|
||||
"no-invalid-css": "off" // warning does not work
|
||||
}
|
||||
},
|
||||
"globalTags": ["google-cast-launcher"],
|
||||
"customHtmlData": [
|
||||
"./node_modules/@lrnwebcomponents/simple-tooltip/custom-elements.json"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue