diff --git a/src/main/cluster-detectors/detector-registry.ts b/src/main/cluster-detectors/detector-registry.ts index f24dfc2119c8..7c06b602b40c 100644 --- a/src/main/cluster-detectors/detector-registry.ts +++ b/src/main/cluster-detectors/detector-registry.ts @@ -62,8 +62,8 @@ export class DetectorRegistry extends Singleton { return Object.fromEntries( iter.map( Object.entries(results), - ([key, { value }]) => [key, value] - ) + ([key, { value }]) => [key, value], + ), ); } } diff --git a/src/main/helm/helm-repo-manager.ts b/src/main/helm/helm-repo-manager.ts index 4f9e817534b8..8fd4250008fc 100644 --- a/src/main/helm/helm-repo-manager.ts +++ b/src/main/helm/helm-repo-manager.ts @@ -93,8 +93,8 @@ export class HelmRepoManager extends Singleton { output.split(/\r?\n/), line => line.match(envVarMatcher), ), - ({ groups: { key, value }}) => [key, JSON.parse(value)] - ) + ({ groups: { key, value }}) => [key, JSON.parse(value)], + ), ); } diff --git a/src/main/k8s-request.ts b/src/main/k8s-request.ts index 7dac620c3d64..c1058b093b7c 100644 --- a/src/main/k8s-request.ts +++ b/src/main/k8s-request.ts @@ -51,7 +51,7 @@ export async function getMetrics(cluster: Cluster, prometheusPath: string, query headers: { Host: `${cluster.id}.${new URL(kubeProxyUrl).host}`, }, - responseType: "json" + responseType: "json", }); return body; diff --git a/src/renderer/components/+preferences/helm-charts.tsx b/src/renderer/components/+preferences/helm-charts.tsx index 57b9f7cac337..07f66a30998c 100644 --- a/src/renderer/components/+preferences/helm-charts.tsx +++ b/src/renderer/components/+preferences/helm-charts.tsx @@ -40,7 +40,7 @@ import { orderBy } from "lodash"; async function loadAvailableHelmRepos(): Promise { const { body } = await got.get("https://github.com/lensapp/artifact-hub-repositories/releases/download/latest/repositories.json", { timeout: 10_000, - responseType: "json" + responseType: "json", }); return orderBy(body, repo => repo.name);