From 076c233483514cdc2df6dfb63d84feae3dd03010 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 21 Nov 2023 07:25:41 +0000 Subject: [PATCH] chore(deps): update dependency eslint-config-standard-with-typescript to v40 --- package.json | 2 +- src/clock-weather-card.ts | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ba70c5c3..1b7223a5 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/clock-weather-card.ts b/src/clock-weather-card.ts index 8657b3d8..af5ec14a 100644 --- a/src/clock-weather-card.ts +++ b/src/clock-weather-card.ts @@ -74,7 +74,7 @@ export class ClockWeatherCard extends LitElement { } public static getStubConfig (_hass: HomeAssistant, entities: string[], entitiesFallback: string[]): Record { - 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 } } @@ -146,7 +146,7 @@ export class ClockWeatherCard extends LitElement { const showForecast = !this.config.hide_forecast_section return html` { this.handleAction(e) }} .actionHandler=${actionHandler({ hasHold: hasAction(this.config.hold_action), hasDoubleClick: hasAction(this.config.double_tap_action) diff --git a/yarn.lock b/yarn.lock index 61284584..b789fb60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"