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-security-policies.route"
|
||||
export * from "./pod-security-policies"
|
||||
export * from "./pod-security-policy-details"
|
||||
export * from "./pod-security-policies.route";
|
||||
export * from "./pod-security-policies";
|
||||
export * from "./pod-security-policy-details";
|
||||
@@ -3,6 +3,6 @@ import { buildURL } from "../../../common/utils/buildUrl";
|
||||
|
||||
export const podSecurityPoliciesRoute: RouteProps = {
|
||||
path: "/pod-security-policies"
|
||||
}
|
||||
};
|
||||
|
||||
export const podSecurityPoliciesURL = buildURL(podSecurityPoliciesRoute.path)
|
||||
export const podSecurityPoliciesURL = buildURL(podSecurityPoliciesRoute.path);
|
||||
@@ -8,5 +8,5 @@ export class PodSecurityPoliciesStore extends KubeObjectStore<PodSecurityPolicy>
|
||||
api = pspApi
|
||||
}
|
||||
|
||||
export const podSecurityPoliciesStore = new PodSecurityPoliciesStore()
|
||||
export const podSecurityPoliciesStore = new PodSecurityPoliciesStore();
|
||||
apiManager.registerStore(podSecurityPoliciesStore);
|
||||
@@ -49,9 +49,9 @@ export class PodSecurityPolicies extends React.Component {
|
||||
item.isPrivileged() ? <Trans>Yes</Trans> : <Trans>No</Trans>,
|
||||
item.getVolumes().join(", "),
|
||||
item.getAge(),
|
||||
]
|
||||
];
|
||||
}}
|
||||
/>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -33,12 +33,12 @@ export class PodSecurityPolicyDetails extends React.Component<Props> {
|
||||
{ranges && (
|
||||
<DrawerItem name={<Trans>Ranges (Min-Max)</Trans>} labelsOnly>
|
||||
{ranges.map(({ min, max }, index) => {
|
||||
return <Badge key={index} label={`${min} - ${max}`}/>
|
||||
return <Badge key={index} label={`${min} - ${max}`}/>;
|
||||
})}
|
||||
</DrawerItem>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
@@ -137,7 +137,7 @@ export class PodSecurityPolicyDetails extends React.Component<Props> {
|
||||
{hostPorts && (
|
||||
<DrawerItem name={<Trans>Host Ports (Min-Max)</Trans>} labelsOnly>
|
||||
{hostPorts.map(({ min, max }, index) => {
|
||||
return <Badge key={index} label={`${min} - ${max}`}/>
|
||||
return <Badge key={index} label={`${min} - ${max}`}/>;
|
||||
})}
|
||||
</DrawerItem>
|
||||
)}
|
||||
@@ -156,7 +156,7 @@ export class PodSecurityPolicyDetails extends React.Component<Props> {
|
||||
<TableCell>{pathPrefix}</TableCell>
|
||||
<TableCell>{readOnly ? <Trans>Yes</Trans> : <Trans>No</Trans>}</TableCell>
|
||||
</TableRow>
|
||||
)
|
||||
);
|
||||
})}
|
||||
</Table>
|
||||
</>
|
||||
@@ -205,7 +205,7 @@ export class PodSecurityPolicyDetails extends React.Component<Props> {
|
||||
)}
|
||||
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,4 +215,4 @@ kubeObjectDetailRegistry.add({
|
||||
components: {
|
||||
Details: (props) => <PodSecurityPolicyDetails {...props}/>
|
||||
}
|
||||
})
|
||||
});
|
||||
Reference in new issue
Block a user