Enforce semicolons in eslint

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 16:35:04 +02:00
1 parent 0f3f5611ba
commit 1477bb8274
531 files changed
+3979 -3975

No files matched your search

@@ -1,2 +1,2 @@
export * from "./replicasets"
export * from "./replicaset-details"
export * from "./replicasets";
export * from "./replicaset-details";
@@ -40,15 +40,15 @@ export class ReplicaSetDetails extends React.Component<Props> {
}
render() {
const { object: replicaSet } = this.props
if (!replicaSet) return null
const { metrics } = replicaSetStore
const { status } = replicaSet
const { availableReplicas, replicas } = status
const selectors = replicaSet.getSelectors()
const nodeSelector = replicaSet.getNodeSelectors()
const images = replicaSet.getImages()
const childPods = replicaSetStore.getChildPods(replicaSet)
const { object: replicaSet } = this.props;
if (!replicaSet) return null;
const { metrics } = replicaSetStore;
const { status } = replicaSet;
const { availableReplicas, replicas } = status;
const selectors = replicaSet.getSelectors();
const nodeSelector = replicaSet.getNodeSelectors();
const images = replicaSet.getImages();
const childPods = replicaSetStore.getChildPods(replicaSet);
return (
<div className="ReplicaSetDetails">
{podsStore.isLoaded && (
@@ -92,7 +92,7 @@ export class ReplicaSetDetails extends React.Component<Props> {
<ResourceMetricsText metrics={metrics}/>
<PodDetailsList pods={childPods} owner={replicaSet}/>
</div>
)
);
}
}
@@ -102,7 +102,7 @@ kubeObjectDetailRegistry.add({
components: {
Details: (props: any) => <ReplicaSetDetails {...props} />
}
})
});
kubeObjectDetailRegistry.add({
kind: "ReplicaSet",
apiVersions: ["apps/v1"],
@@ -110,4 +110,4 @@ kubeObjectDetailRegistry.add({
components: {
Details: (props: any) => <KubeEventDetails {...props} />
}
})
});
@@ -22,7 +22,7 @@ export class ReplicaSetStore extends KubeObjectStore<ReplicaSet> {
getReplicaSetsByOwner(deployment: Deployment) {
return this.items.filter(replicaSet =>
!!replicaSet.getOwnerRefs().find(owner => owner.uid === deployment.getId())
)
);
}
reset() {
@@ -81,7 +81,7 @@ export class ReplicaSets extends React.Component<Props> {
<ReplicaSetMenu object={replica}/>
</TableCell>
</TableRow>
)
);
})
}
</Table>
@@ -93,5 +93,5 @@ export class ReplicaSets extends React.Component<Props> {
export function ReplicaSetMenu(props: KubeObjectMenuProps<ReplicaSet>) {
return (
<KubeObjectMenu {...props}/>
)
);
}