mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce member-delimiter-style using eslint (#4870)
This commit is contained in:
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`);
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export function migrationLog(...args: any[]) {
|
||||
}
|
||||
|
||||
export interface MigrationDeclaration {
|
||||
version: string,
|
||||
version: string;
|
||||
run(store: Conf<any>): void;
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
Reference in new issue
Block a user