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,4 +1,4 @@
|
||||
import "./endpoint-details.scss"
|
||||
import "./endpoint-details.scss";
|
||||
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
@@ -28,7 +28,7 @@ export class EndpointDetails extends React.Component<Props> {
|
||||
endpoint.getEndpointSubsets().map((subset) => {
|
||||
return(
|
||||
<EndpointSubsetList subset={subset} endpoint={endpoint}/>
|
||||
)
|
||||
);
|
||||
})
|
||||
}
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@ kubeObjectDetailRegistry.add({
|
||||
components: {
|
||||
Details: (props) => <EndpointDetails {...props} />
|
||||
}
|
||||
})
|
||||
});
|
||||
kubeObjectDetailRegistry.add({
|
||||
kind: "Endpoints",
|
||||
apiVersions: ["v1"],
|
||||
@@ -50,4 +50,4 @@ kubeObjectDetailRegistry.add({
|
||||
components: {
|
||||
Details: (props) => <KubeEventDetails {...props} />
|
||||
}
|
||||
})
|
||||
});
|
||||
@@ -1,4 +1,4 @@
|
||||
import "./endpoint-subset-list.scss"
|
||||
import "./endpoint-subset-list.scss";
|
||||
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
@@ -23,14 +23,14 @@ export class EndpointSubsetList extends React.Component<Props> {
|
||||
getAddressTableRow(ip: string) {
|
||||
const { subset } = this.props;
|
||||
const address = subset.getAddresses().find(address => address.getId() == ip);
|
||||
return this.renderAddressTableRow(address)
|
||||
return this.renderAddressTableRow(address);
|
||||
}
|
||||
|
||||
@autobind()
|
||||
getNotReadyAddressTableRow(ip: string) {
|
||||
const { subset} = this.props;
|
||||
const address = subset.getNotReadyAddresses().find(address => address.getId() == ip);
|
||||
return this.renderAddressTableRow(address)
|
||||
return this.renderAddressTableRow(address);
|
||||
}
|
||||
|
||||
@autobind()
|
||||
@@ -56,7 +56,7 @@ export class EndpointSubsetList extends React.Component<Props> {
|
||||
}
|
||||
</Table>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@autobind()
|
||||
|
||||
@@ -3,9 +3,9 @@ import { buildURL } from "../../../common/utils/buildUrl";
|
||||
|
||||
export const endpointRoute: RouteProps = {
|
||||
path: "/endpoints"
|
||||
}
|
||||
};
|
||||
|
||||
export interface EndpointRouteParams {
|
||||
}
|
||||
|
||||
export const endpointURL = buildURL<EndpointRouteParams>(endpointRoute.path)
|
||||
export const endpointURL = buildURL<EndpointRouteParams>(endpointRoute.path);
|
||||
@@ -1,10 +1,10 @@
|
||||
import "./endpoints.scss"
|
||||
import "./endpoints.scss";
|
||||
|
||||
import React from "react"
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { RouteComponentProps } from "react-router-dom"
|
||||
import { EndpointRouteParams } from "./endpoints.route"
|
||||
import { Endpoint } from "../../api/endpoints/endpoint.api"
|
||||
import { RouteComponentProps } from "react-router-dom";
|
||||
import { EndpointRouteParams } from "./endpoints.route";
|
||||
import { Endpoint } from "../../api/endpoints/endpoint.api";
|
||||
import { endpointStore } from "./endpoints.store";
|
||||
import { KubeObjectListLayout } from "../kube-object";
|
||||
import { Trans } from "@lingui/macro";
|
||||
@@ -55,6 +55,6 @@ export class Endpoints extends React.Component<Props> {
|
||||
}
|
||||
}}
|
||||
/>
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
export * from "./endpoints.route"
|
||||
export * from "./endpoints"
|
||||
export * from "./endpoint-details"
|
||||
export * from "./endpoints.route";
|
||||
export * from "./endpoints";
|
||||
export * from "./endpoint-details";
|
||||
Reference in new issue
Block a user