Enforce member-delimiter-style using eslint (#4870)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-02-16 14:43:03 -05:00
1 parent 1c7641708e
commit 600bd659f6
158 files changed
+304 -294

No files matched your search

@@ -75,7 +75,7 @@ function mergeClusterModel(prev: ClusterModel, right: Omit<ClusterModel, "id">):
};
}
function moveStorageFolder({ folder, newId, oldId }: { folder: string, newId: string, oldId: string }): void {
function moveStorageFolder({ folder, newId, oldId }: { folder: string; newId: string; oldId: string }): void {
const oldPath = path.resolve(folder, `${oldId}.json`);
const newPath = path.resolve(folder, `${newId}.json`);
+1 -1
View File
@@ -15,7 +15,7 @@ export function migrationLog(...args: any[]) {
}
export interface MigrationDeclaration {
version: string,
version: string;
run(store: Conf<any>): void;
}
+1 -1
View File
@@ -5,6 +5,6 @@
import { createHash } from "crypto";
export function generateNewIdFor(cluster: { kubeConfigPath: string, contextName: string }): string {
export function generateNewIdFor(cluster: { kubeConfigPath: string; contextName: string }): string {
return createHash("md5").update(`${cluster.kubeConfigPath}:${cluster.contextName}`).digest("hex");
}