From bf323fcba6755ada460ac17670747810637c9cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Petruni=C4=87?= Date: Wed, 30 Oct 2019 10:00:09 +0100 Subject: [PATCH] lint fixes --- README.md | 2 ++ src/renderer/containers/Onboard/OnboardContainer.tsx | 2 +- test/unit/models/account.spec.ts | 2 +- test/unit/utils/docker/docker-utils.spec.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d78fa057..7fc06d7e 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ For building components in isolation you can use [Storybook](https://storybook.j Just run `yarn storybook` +Design is based on: https://www.figma.com/file/dt1Z45BJkDGOg63IdNYwbR + ## Packaging We use [Electron builder](https://www.electron.build/) to build and package the application. By default you can run the following to package for your current platform: diff --git a/src/renderer/containers/Onboard/OnboardContainer.tsx b/src/renderer/containers/Onboard/OnboardContainer.tsx index b1d99ec9..d1f2cf98 100644 --- a/src/renderer/containers/Onboard/OnboardContainer.tsx +++ b/src/renderer/containers/Onboard/OnboardContainer.tsx @@ -3,7 +3,7 @@ import {Background} from "../../components/Background/Background"; import {Modal} from "../../components/Modal/Modal"; import {ButtonPrimary, ButtonSecondary} from "../../components/Button/ButtonStandard"; import {StepNavigation} from "../../components/StepNavigation/StepNavigation"; -import { RouteComponentProps } from "react-router"; +import {RouteComponentProps} from "react-router"; const steps = [ {stepId: 1, stepName: "Signing key"}, diff --git a/test/unit/models/account.spec.ts b/test/unit/models/account.spec.ts index ed8bb02b..70195e4c 100644 --- a/test/unit/models/account.spec.ts +++ b/test/unit/models/account.spec.ts @@ -47,7 +47,7 @@ jest.mock("fs", () => ({ })); import {CGAccount} from "../../../src/renderer/models/account"; -import { Eth1KeystoreFactory } from '../../../src/renderer/services/keystore'; +import {Eth1KeystoreFactory} from "../../../src/renderer/services/keystore"; // Passwords for keystores 1 & 2 const PRIMARY_KEYSTORE_PASSWORD = "chainGuardianPass"; diff --git a/test/unit/utils/docker/docker-utils.spec.ts b/test/unit/utils/docker/docker-utils.spec.ts index 25b80355..1d422f1e 100644 --- a/test/unit/utils/docker/docker-utils.spec.ts +++ b/test/unit/utils/docker/docker-utils.spec.ts @@ -1,4 +1,4 @@ -import { extractDockerVersion } from '../../../../src/renderer/services/docker/utils'; +import {extractDockerVersion} from "../../../../src/renderer/services/docker/utils"; describe("docker utils unit tests", () => { it("should successfully extract docker version.", async () => {