Skip to content

Commit

Permalink
chore(deps): update dependency eslint-config-standard-with-typescript…
Browse files Browse the repository at this point in the history
… to v40
  • Loading branch information
renovate[bot] authored and Patrick Kissling committed Nov 21, 2023
1 parent e9500d5 commit 076c233
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^39.1.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/clock-weather-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ClockWeatherCard extends LitElement {
}

public static getStubConfig (_hass: HomeAssistant, entities: string[], entitiesFallback: string[]): Record<string, unknown> {
const entity = entities.find(e => e.startsWith('weather.') ?? entitiesFallback.find(e => e.startsWith))
const entity = entities.find(e => e.startsWith('weather.') ?? entitiesFallback.find(() => true))
if (entity) {
return { entity }
}
Expand Down Expand Up @@ -146,7 +146,7 @@ export class ClockWeatherCard extends LitElement {
const showForecast = !this.config.hide_forecast_section
return html`
<ha-card
@action=${this.handleAction}
@action=${(e: ActionHandlerEvent) => { this.handleAction(e) }}
.actionHandler=${actionHandler({
hasHold: hasAction(this.config.hold_action),
hasDoubleClick: hasAction(this.config.double_tap_action)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1115,10 +1115,10 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==

eslint-config-standard-with-typescript@^39.1.0:
version "39.1.1"
resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-39.1.1.tgz#d682bd1fc8f1ee996940f85c9b0a833d7cfa5fee"
integrity sha512-t6B5Ep8E4I18uuoYeYxINyqcXb2UbC0SOOTxRtBSt2JUs+EzeXbfe2oaiPs71AIdnoWhXDO2fYOHz8df3kV84A==
eslint-config-standard-with-typescript@^40.0.0:
version "40.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-40.0.0.tgz#6501601dc35e378e6b16e22257e80b7bd276119d"
integrity sha512-GXUJcwIXiTQaS3H4etv8a1lejVVdZYaxZNz3g7vt6GoJosQqMTurbmSC4FVGyHiGT/d1TjFr3+47A3xsHhsG+Q==
dependencies:
"@typescript-eslint/parser" "^6.4.0"
eslint-config-standard "17.1.0"
Expand Down

0 comments on commit 076c233

Please sign in to comment.