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 "./namespace-select.scss"
import "./namespace-select.scss";
import React from "react";
import { computed } from "mobx";
@@ -83,8 +83,8 @@ export class NamespaceSelectFilter extends React.Component {
render() {
const { contextNs, hasContext, toggleContext } = namespaceStore;
let placeholder = <Trans>All namespaces</Trans>;
if (contextNs.length == 1) placeholder = <Trans>Namespace: {contextNs[0]}</Trans>
if (contextNs.length >= 2) placeholder = <Trans>Namespaces: {contextNs.join(", ")}</Trans>
if (contextNs.length == 1) placeholder = <Trans>Namespace: {contextNs[0]}</Trans>;
if (contextNs.length >= 2) placeholder = <Trans>Namespaces: {contextNs.join(", ")}</Trans>;
return (
<NamespaceSelect
placeholder={placeholder}
@@ -101,9 +101,9 @@ export class NamespaceSelectFilter extends React.Component {
<span>{namespace}</span>
{isSelected && <Icon small material="check" className="box right" />}
</div>
)
);
}}
/>
)
);
}
}