Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
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(() => {
+2 -2
View File
@@ -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),
),
);
}