mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -52,28 +52,28 @@ describe("CatalogEntityRegistry", () => {
|
||||
uid: "test",
|
||||
name: "test-link",
|
||||
source: "test",
|
||||
labels: {}
|
||||
labels: {},
|
||||
},
|
||||
spec: {
|
||||
url: "https://k8slens.dev"
|
||||
url: "https://k8slens.dev",
|
||||
},
|
||||
status: {
|
||||
phase: "available"
|
||||
}
|
||||
phase: "available",
|
||||
},
|
||||
});
|
||||
const invalidEntity = new InvalidEntity({
|
||||
metadata: {
|
||||
uid: "invalid",
|
||||
name: "test-link",
|
||||
source: "test",
|
||||
labels: {}
|
||||
labels: {},
|
||||
},
|
||||
spec: {
|
||||
url: "https://k8slens.dev"
|
||||
url: "https://k8slens.dev",
|
||||
},
|
||||
status: {
|
||||
phase: "available"
|
||||
}
|
||||
phase: "available",
|
||||
},
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
@@ -46,8 +46,8 @@ export class CatalogEntityRegistry {
|
||||
return Array.from(
|
||||
iter.filter(
|
||||
iter.flatMap(this.sources.values(), source => source.get()),
|
||||
entity => this.categoryRegistry.getCategoryForEntity(entity)
|
||||
)
|
||||
entity => this.categoryRegistry.getCategoryForEntity(entity),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user