web: fix linting errors

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-16 22:31:44 +01:00
parent 67629ce0b7
commit abbec501f7
2 changed files with 5 additions and 2 deletions

View file

@ -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],

View file

@ -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")