Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 319683a

Browse files
committedFeb 11, 2021
chore: update lint config
1 parent f30ea42 commit 319683a

File tree

3 files changed

+10
-58
lines changed

3 files changed

+10
-58
lines changed
 

‎.prettierrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
"proseWrap": "preserve",
1010
"quoteProps": "as-needed",
1111
"requirePragma": false,
12-
"semi": true,
12+
"semi": false,
1313
"singleQuote": false,
1414
"tabWidth": 2,
1515
"trailingComma": "es5",
1616
"useTabs": false,
17-
"vueIndentScriptAndStyle": false
1817
}

‎src/components/Hub/BuildHistory.tsx

-47
This file was deleted.

‎src/components/Hub/CopyCommand.tsx

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import React from "react";
2-
import { Card, CardBody } from "shards-react";
3-
import SyntaxHighlighter from "react-syntax-highlighter";
4-
import { atomOneLight } from "react-syntax-highlighter/dist/esm/styles/hljs";
5-
import { HubImage } from "../../redux/hub/hub.types";
1+
import React from "react"
2+
import { Card, CardBody } from "shards-react"
3+
import SyntaxHighlighter from "react-syntax-highlighter"
4+
import { atomOneLight } from "react-syntax-highlighter/dist/esm/styles/hljs"
5+
import { HubImage } from "../../redux/hub/hub.types"
66

77
type Props = {
8-
image: HubImage;
9-
copyCode: (code: string) => void;
10-
};
8+
image: HubImage
9+
copyCode: (code: string) => void
10+
}
1111

1212
export default function CopyCommand({ image, copyCode }: Props) {
1313
return (
@@ -22,5 +22,5 @@ export default function CopyCommand({ image, copyCode }: Props) {
2222
</SyntaxHighlighter>
2323
</CardBody>
2424
</Card>
25-
);
25+
)
2626
}

0 commit comments

Comments
 (0)
This repository has been archived.