diff --git a/src/main/cluster-detectors/detector-registry.ts b/src/main/cluster-detectors/detector-registry.ts index f24dfc2119c8e..7c06b602b40cc 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/k8s-request.ts b/src/main/k8s-request.ts index 7dac620c3d645..c1058b093b7c2 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 57b9f7cac3371..07f66a30998c9 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);