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,3 +1,3 @@
export * from "./pod-disruption-budgets.route"
export * from "./pod-disruption-budgets"
export * from "./pod-disruption-budgets-details"
export * from "./pod-disruption-budgets.route";
export * from "./pod-disruption-budgets";
export * from "./pod-disruption-budgets-details";
@@ -18,8 +18,8 @@ export class PodDisruptionBudgetDetails extends React.Component<Props> {
render() {
const { object: pdb } = this.props;
if (!pdb) return null
const { status, spec } = pdb
if (!pdb) return null;
const { status, spec } = pdb;
const selectors = pdb.getSelectors();
return (
<div className="PdbDetails">
@@ -50,7 +50,7 @@ export class PodDisruptionBudgetDetails extends React.Component<Props> {
</DrawerItem>
</div>
)
);
}
}
@@ -60,4 +60,4 @@ kubeObjectDetailRegistry.add({
components: {
Details: (props) => <PodDisruptionBudgetDetails {...props} />
}
})
});
@@ -3,9 +3,9 @@ import { buildURL } from "../../../common/utils/buildUrl";
export const pdbRoute: RouteProps = {
path: "/poddisruptionbudgets"
}
};
export interface IPodDisruptionBudgetsRouteParams {
}
export const pdbURL = buildURL<IPodDisruptionBudgetsRouteParams>(pdbRoute.path)
export const pdbURL = buildURL<IPodDisruptionBudgetsRouteParams>(pdbRoute.path);
@@ -1,4 +1,4 @@
import "./pod-disruption-budgets.scss"
import "./pod-disruption-budgets.scss";
import * as React from "react";
import { observer } from "mobx-react";
@@ -65,7 +65,7 @@ export class PodDisruptionBudgets extends React.Component<Props> {
pdb.getCurrentHealthy(),
pdb.getDesiredHealthy(),
pdb.getAge(),
]
];
}}
/>
);