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,4 +1,4 @@
import "./add-secret-dialog.scss"
import "./add-secret-dialog.scss";
import React from "react";
import { observable } from "mobx";
@@ -85,7 +85,7 @@ export class AddSecretDialog extends React.Component<Props> {
data[key] = processValue ? processValue(value) : value;
}
return data;
}, {})
}, {});
}
createSecret = async () => {
@@ -100,7 +100,7 @@ export class AddSecretDialog extends React.Component<Props> {
annotations: this.getDataFromFields(annotations),
labels: this.getDataFromFields(labels),
} as IKubeObjectMetadata
}
};
try {
const newSecret = await secretsApi.create({ namespace, name }, secret);
showDetails(newSecret.selfLink);
@@ -163,11 +163,11 @@ export class AddSecretDialog extends React.Component<Props> {
onClick={() => this.removeField(field, index)}
/>
</div>
)
);
})}
</div>
</>
)
);
}
render() {
@@ -216,6 +216,6 @@ export class AddSecretDialog extends React.Component<Props> {
</WizardStep>
</Wizard>
</Dialog>
)
);
}
}
@@ -1,4 +1,4 @@
export * from "./secrets.route"
export * from "./secrets"
export * from "./secret-details"
export * from "./secrets.route";
export * from "./secrets";
export * from "./secret-details";
@@ -36,7 +36,7 @@ export class SecretDetails extends React.Component<Props> {
this.revealSecret = {};
}
})
])
]);
}
saveSecret = async () => {
@@ -97,7 +97,7 @@ export class SecretDetails extends React.Component<Props> {
}
</div>
</div>
)
);
})
}
<Button
@@ -119,4 +119,4 @@ kubeObjectDetailRegistry.add({
components: {
Details: (props) => <SecretDetails {...props} />
}
})
});
@@ -3,7 +3,7 @@ import { buildURL } from "../../../common/utils/buildUrl";
export const secretsRoute: RouteProps = {
path: "/secrets"
}
};
export interface ISecretsRouteParams {
}
@@ -1,4 +1,4 @@
import "./secrets.scss"
import "./secrets.scss";
import React from "react";
import { observer } from "mobx-react";