Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0 (#15373)
* Bump eslint-config-airbnb-typescript from 14.0.0 to 17.0.0 Bumps [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) from 14.0.0 to 17.0.0. - [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases) - [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md) - [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v14.0.0...v17.0.0) --- updated-dependencies: - dependency-name: eslint-config-airbnb-typescript dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Deduplicate dependencies [dependabot skip] * Disable default params last rule for current offenders --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
This commit is contained in:
parent
e2bfaf2448
commit
d1b95ba36b
|
@ -15,6 +15,7 @@ import { MockHomeAssistant } from "../../../src/fake_data/provide_hass";
|
|||
const generateMeanStatistics = (
|
||||
start: Date,
|
||||
end: Date,
|
||||
// eslint-disable-next-line @typescript-eslint/default-param-last
|
||||
period: "5minute" | "hour" | "day" | "month" = "hour",
|
||||
initValue: number,
|
||||
maxDiff: number
|
||||
|
@ -51,6 +52,7 @@ const generateMeanStatistics = (
|
|||
const generateSumStatistics = (
|
||||
start: Date,
|
||||
end: Date,
|
||||
// eslint-disable-next-line @typescript-eslint/default-param-last
|
||||
period: "5minute" | "hour" | "day" | "month" = "hour",
|
||||
initValue: number,
|
||||
maxDiff: number
|
||||
|
@ -86,6 +88,7 @@ const generateSumStatistics = (
|
|||
const generateCurvedStatistics = (
|
||||
start: Date,
|
||||
end: Date,
|
||||
// eslint-disable-next-line @typescript-eslint/default-param-last
|
||||
_period: "5minute" | "hour" | "day" | "month" = "hour",
|
||||
initValue: number,
|
||||
maxDiff: number,
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
"del": "^7.0.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-config-airbnb-typescript": "^14.0.0",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
"eslint-config-prettier": "^8.6.0",
|
||||
"eslint-import-resolver-webpack": "^0.13.2",
|
||||
"eslint-plugin-disable": "^2.0.3",
|
||||
|
|
|
@ -19,6 +19,7 @@ const SECS_PER_HOUR = SECS_PER_MIN * 60;
|
|||
// Adapted from https://github.com/formatjs/formatjs/blob/186cef62f980ec66252ee232f438a42d0b51b9f9/packages/intl-utils/src/diff.ts
|
||||
export function selectUnit(
|
||||
from: Date | number,
|
||||
// eslint-disable-next-line @typescript-eslint/default-param-last
|
||||
to: Date | number = Date.now(),
|
||||
locale: FrontendLocaleData,
|
||||
thresholds: Partial<Thresholds> = {}
|
||||
|
|
|
@ -10,7 +10,11 @@ import {
|
|||
subscribeServices,
|
||||
} from "home-assistant-js-websocket";
|
||||
import { fireEvent } from "../common/dom/fire_event";
|
||||
import { polyfillsLoaded } from "../common/translations/localize";
|
||||
import { subscribeAreaRegistry } from "../data/area_registry";
|
||||
import { broadcastConnectionStatus } from "../data/connection-status";
|
||||
import { subscribeDeviceRegistry } from "../data/device_registry";
|
||||
import { subscribeEntityRegistry } from "../data/entity_registry";
|
||||
import { subscribeFrontendUserData } from "../data/frontend";
|
||||
import { forwardHaptic } from "../data/haptics";
|
||||
import { DEFAULT_PANEL } from "../data/panel";
|
||||
|
@ -19,15 +23,11 @@ import { FirstWeekday, NumberFormat, TimeFormat } from "../data/translation";
|
|||
import { subscribePanels } from "../data/ws-panels";
|
||||
import { translationMetadata } from "../resources/translations-metadata";
|
||||
import { Constructor, HomeAssistant, ServiceCallResponse } from "../types";
|
||||
import { getLocalLanguage } from "../util/common-translation";
|
||||
import { fetchWithAuth } from "../util/fetch-with-auth";
|
||||
import { getState } from "../util/ha-pref-storage";
|
||||
import hassCallApi from "../util/hass-call-api";
|
||||
import { getLocalLanguage } from "../util/common-translation";
|
||||
import { HassBaseEl } from "./hass-base-mixin";
|
||||
import { polyfillsLoaded } from "../common/translations/localize";
|
||||
import { subscribeAreaRegistry } from "../data/area_registry";
|
||||
import { subscribeDeviceRegistry } from "../data/device_registry";
|
||||
import { subscribeEntityRegistry } from "../data/entity_registry";
|
||||
|
||||
export const connectionMixin = <T extends Constructor<HassBaseEl>>(
|
||||
superClass: T
|
||||
|
@ -70,6 +70,7 @@ export const connectionMixin = <T extends Constructor<HassBaseEl>>(
|
|||
enableShortcuts: true,
|
||||
moreInfoEntityId: null,
|
||||
hassUrl: (path = "") => new URL(path, auth.data.hassUrl).toString(),
|
||||
// eslint-disable-next-line @typescript-eslint/default-param-last
|
||||
callService: async (domain, service, serviceData = {}, target) => {
|
||||
if (__DEV__) {
|
||||
// eslint-disable-next-line no-console
|
||||
|
|
47
yarn.lock
47
yarn.lock
|
@ -7676,7 +7676,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"es-abstract@npm:^1.18.2, es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1, es-abstract@npm:^1.20.4":
|
||||
"es-abstract@npm:^1.19.0, es-abstract@npm:^1.19.1, es-abstract@npm:^1.20.4":
|
||||
version: 1.21.1
|
||||
resolution: "es-abstract@npm:1.21.1"
|
||||
dependencies:
|
||||
|
@ -7879,13 +7879,32 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-config-airbnb-typescript@npm:^14.0.0":
|
||||
version: 14.0.0
|
||||
resolution: "eslint-config-airbnb-typescript@npm:14.0.0"
|
||||
"eslint-config-airbnb-base@npm:^15.0.0":
|
||||
version: 15.0.0
|
||||
resolution: "eslint-config-airbnb-base@npm:15.0.0"
|
||||
dependencies:
|
||||
confusing-browser-globals: ^1.0.10
|
||||
object.assign: ^4.1.2
|
||||
object.entries: ^1.1.5
|
||||
semver: ^6.3.0
|
||||
peerDependencies:
|
||||
"@typescript-eslint/eslint-plugin": ^4.29.3
|
||||
"@typescript-eslint/parser": ^4.29.3
|
||||
checksum: 0544e55cd651e0217a09faa257a86689fdaa056bb6e0217ea38345c3c083ddeb5eb59a23b745884637d8e7c338acaa4459b08c151226c65c61b308c58e8a1d3a
|
||||
eslint: ^7.32.0 || ^8.2.0
|
||||
eslint-plugin-import: ^2.25.2
|
||||
checksum: 38626bad2ce2859fccac86b30cd2b86c9b7d8d71d458331860861dc05290a5b198bded2f4fb89efcb9046ec48f8ab4c4fb00365ba8916f27b172671da28b93ea
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-config-airbnb-typescript@npm:^17.0.0":
|
||||
version: 17.0.0
|
||||
resolution: "eslint-config-airbnb-typescript@npm:17.0.0"
|
||||
dependencies:
|
||||
eslint-config-airbnb-base: ^15.0.0
|
||||
peerDependencies:
|
||||
"@typescript-eslint/eslint-plugin": ^5.13.0
|
||||
"@typescript-eslint/parser": ^5.0.0
|
||||
eslint: ^7.32.0 || ^8.2.0
|
||||
eslint-plugin-import: ^2.25.3
|
||||
checksum: e598ae7bcc3629bbc847a749f8c1ad69e6ef111335b60d88bde91d1bb335077b06688868257fe2fcc95c3687a0d6e3e1f91e0534cc633f5a118239e52bb05a54
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
@ -9697,7 +9716,7 @@ fsevents@^1.2.7:
|
|||
del: ^7.0.0
|
||||
eslint: ^7.32.0
|
||||
eslint-config-airbnb-base: ^14.2.1
|
||||
eslint-config-airbnb-typescript: ^14.0.0
|
||||
eslint-config-airbnb-typescript: ^17.0.0
|
||||
eslint-config-prettier: ^8.6.0
|
||||
eslint-import-resolver-webpack: ^0.13.2
|
||||
eslint-plugin-disable: ^2.0.3
|
||||
|
@ -12593,14 +12612,14 @@ fsevents@^1.2.7:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"object.entries@npm:^1.1.2":
|
||||
version: 1.1.4
|
||||
resolution: "object.entries@npm:1.1.4"
|
||||
"object.entries@npm:^1.1.2, object.entries@npm:^1.1.5":
|
||||
version: 1.1.6
|
||||
resolution: "object.entries@npm:1.1.6"
|
||||
dependencies:
|
||||
call-bind: ^1.0.2
|
||||
define-properties: ^1.1.3
|
||||
es-abstract: ^1.18.2
|
||||
checksum: 1ddd2e28f5ecfe2369fe198439ec0457529f3eec85c7f43870be8de3ec3d98024b014ddb4a769ca48925e47ed76c69a51d8bf2c9886ed43174e3a1d33c2dbe38
|
||||
define-properties: ^1.1.4
|
||||
es-abstract: ^1.20.4
|
||||
checksum: 0f8c47517e6a9a980241eafe3b73de11e59511883173c2b93d67424a008e47e11b77c80e431ad1d8a806f6108b225a1cab9223e53e555776c612a24297117d28
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
|
Loading…
Reference in New Issue