Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import _ from "lodash";
export type IMetricsQuery = string | string[] | {
[metricName: string]: string;
}
};
// This is used for backoff retry tracking.
const MAX_ATTEMPTS = 5;
+9 -9
View File
@@ -8,7 +8,7 @@ import * as tcpPortUsed from "tcp-port-used";
import logger from "../logger";
class PortForward {
public static portForwards: PortForward[] = []
public static portForwards: PortForward[] = [];
static getPortforward(forward: {clusterId: string; kind: string; name: string; namespace: string; port: string}) {
return PortForward.portForwards.find((pf) => {
@@ -22,14 +22,14 @@ class PortForward {
});
}
public clusterId: string
public process: ChildProcessWithoutNullStreams
public kubeConfig: string
public kind: string
public namespace: string
public name: string
public port: string
public localPort: number
public clusterId: string;
public process: ChildProcessWithoutNullStreams;
public kubeConfig: string;
public kind: string;
public namespace: string;
public name: string;
public port: string;
public localPort: number;
constructor(obj: any) {
Object.assign(this, obj);
+6 -6
View File
@@ -6,12 +6,12 @@ import { Request } from "request";
import logger from "../logger";
class ApiWatcher {
private apiUrl: string
private response: ServerResponse
private watchRequest: Request
private watch: Watch
private processor: NodeJS.Timeout
private eventBuffer: any[] = []
private apiUrl: string;
private response: ServerResponse;
private watchRequest: Request;
private watch: Watch;
private processor: NodeJS.Timeout;
private eventBuffer: any[] = [];
constructor(apiUrl: string, kubeConfig: KubeConfig, response: ServerResponse) {
this.apiUrl = apiUrl;