From abbec501f7600e48d4ce4060a99083137895d276 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Mar 2021 22:31:44 +0100 Subject: [PATCH] web: fix linting errors Signed-off-by: Jens Langhammer --- web/rollup.config.js | 3 +++ web/src/elements/EmptyState.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/rollup.config.js b/web/rollup.config.js index d54842c85..d4a930e9b 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -29,6 +29,7 @@ export default [ ], plugins: [ typescript(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, ].filter(p => p), watch: { @@ -54,6 +55,7 @@ export default [ resolve({ browser: true }), commonjs(), sourcemaps(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, copy({ targets: [...resources], @@ -84,6 +86,7 @@ export default [ resolve({ browser: true }), commonjs(), sourcemaps(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, copy({ targets: [...resources], diff --git a/web/src/elements/EmptyState.ts b/web/src/elements/EmptyState.ts index 6b07cad37..0bd59547d 100644 --- a/web/src/elements/EmptyState.ts +++ b/web/src/elements/EmptyState.ts @@ -1,6 +1,6 @@ import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; -import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css" -import PFBase from "@patternfly/patternfly/patternfly-base.css" +import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; +import PFBase from "@patternfly/patternfly/patternfly-base.css"; import FA from "@fortawesome/fontawesome-free/css/fontawesome.css"; @customElement("ak-empty-state")