mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce semicolons in eslint
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
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";
|
||||
+4
-4
@@ -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} />
|
||||
}
|
||||
})
|
||||
});
|
||||
+2
-2
@@ -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(),
|
||||
]
|
||||
];
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user