diff --git a/.eslintrc-hound.json b/.eslintrc-hound.json index 6681780402..50b04a73e0 100644 --- a/.eslintrc-hound.json +++ b/.eslintrc-hound.json @@ -8,7 +8,8 @@ }, "settings": { "react": { - "pragma": "h" + "pragma": "h", + "version": "15.0" }, "import/resolver": { "webpack": { diff --git a/demo/src/custom-cards/ha-demo-card.ts b/demo/src/custom-cards/ha-demo-card.ts index 0555c42bcb..e997d86eae 100644 --- a/demo/src/custom-cards/ha-demo-card.ts +++ b/demo/src/custom-cards/ha-demo-card.ts @@ -54,26 +54,24 @@ export class HADemoCard extends LitElement implements LovelaceCard { .disabled=${this._switching} >
- ${ - this._switching - ? html` - - ` - : until( - selectedDemoConfig.then( - (conf) => html` - ${conf.name} - - by - - ${conf.authorName} - - - ` - ), - "" - ) - } + ${this._switching + ? html` + + ` + : until( + selectedDemoConfig.then( + (conf) => html` + ${conf.name} + + by + + ${conf.authorName} + + + ` + ), + "" + )}
html` - - - (long) press me! - + ${[1, 2, 3].map( + () => html` + + + (long) press me! + - + -
(try pressing and scrolling too!)
-
- ` - ) - } +
(try pressing and scrolling too!)
+
+ ` + )} `; } diff --git a/hassio/src/hassio-pages-with-tabs.js b/hassio/src/hassio-pages-with-tabs.js index cd85ae82b9..c817624790 100644 --- a/hassio/src/hassio-pages-with-tabs.js +++ b/hassio/src/hassio-pages-with-tabs.js @@ -62,14 +62,14 @@ class HassioPagesWithTabs extends NavigateMixin(PolymerElement) { System -