Skip to content

Commit

Permalink
fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Jun 17, 2020
1 parent 45bc618 commit 224fa94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 1 addition & 3 deletions sites/fast-component-explorer/app/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import {
ActionToggleAppearance,
ActionToggleProps,
Background,
Heading,
HeadingSize,
Pivot,
Select,
SelectOption,
Expand Down Expand Up @@ -66,7 +64,7 @@ import {
ExplorerUnhandledProps,
} from "./explorer.props";
import { previewReady } from "./preview";

/* eslint-disable-next-line @typescript-eslint/no-var-requires */
const FASTInlineLogo = require("@microsoft/site-utilities/statics/assets/inline-logo.png");
export const previewBackgroundTransparency: string = "PREVIEW::TRANSPARENCY";
export const previewDirection: string = "PREVIEW::DIRECTION";
Expand Down
10 changes: 2 additions & 8 deletions sites/fast-creator/app/creator.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { memoize, uniqueId } from "lodash-es";
import {
Background,
Badge,
cardSchema2,
Heading,
HeadingSize,
} from "@microsoft/fast-components-react-msft";
import { Background } from "@microsoft/fast-components-react-msft";
import {
neutralLayerL1,
neutralLayerL2,
Expand Down Expand Up @@ -73,7 +67,7 @@ import { divTag, linkedDataExamples } from "./configs";
import { ProjectFileTransfer } from "./components";
import { selectDeviceOverrideStyles } from "./utilities/style-overrides";
import { previewReady } from "./preview";

/* eslint-disable-next-line @typescript-eslint/no-var-requires */
const FASTInlineLogo = require("@microsoft/site-utilities/statics/assets/inline-logo.png");
const fastMessageSystemWorker = new FASTMessageSystemWorker();
let fastMessageSystem: MessageSystem;
Expand Down
1 change: 1 addition & 0 deletions sites/fast-tooling-examples/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import "./style.css";
import examples from "./registry";
import toolingGuidance from "./.tmp/tooling-guidance";
import toolingReactGuidance from "./.tmp/tooling-react-guidance";
/* eslint-disable-next-line @typescript-eslint/no-var-requires */
const FASTInlineLogo = require("@microsoft/site-utilities/statics/assets/inline-logo.png");

// prevent tree shaking
Expand Down

0 comments on commit 224fa94

Please sign in to comment.