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
@@ -160,7 +160,7 @@ export abstract class CatalogCategory extends (EventEmitter as new () => TypedEm
|
||||
* @param id The id of a category is parse
|
||||
* @returns The group and kind parts of the ID
|
||||
*/
|
||||
public static parseId(id: string): { group?: string, kind?: string } {
|
||||
public static parseId(id: string): { group?: string; kind?: string } {
|
||||
const [group, kind] = id.split("/") ?? [];
|
||||
|
||||
return { group, kind };
|
||||
@@ -245,7 +245,7 @@ export interface CatalogEntityContextMenu {
|
||||
*/
|
||||
confirm?: {
|
||||
message: string;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export interface CatalogEntityAddMenu extends CatalogEntityContextMenu {
|
||||
@@ -257,7 +257,7 @@ export interface CatalogEntitySettingsMenu {
|
||||
group?: string;
|
||||
title: string;
|
||||
components: {
|
||||
View: React.ComponentType<any>
|
||||
View: React.ComponentType<any>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user