diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-25 09:20:43 -0600 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-07-26 16:28:22 +0000 |
commit | 4bd3d6764bfd48c881d9722825309ddb5956c758 (patch) | |
tree | 53296e94d91ab2cdc57c4d32a1fbcee071ae7923 /src/components/ui/Infobox.tsx | |
parent | chore: upgrade @octokit/core to latest (diff) | |
download | ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.gz ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.zst ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.zip |
style: reformat all files properly
- remove .json from .eslintignore
- add type intellisense to .prettierrc.js
- install missing @jest/types which is used in jest.config.js
- split up typecheck and lint into two separate commands
- remove --require-pragma flag from reformat-files which leads to unformatted files
- install suggested @types/prop-types and @types/react-loader dependencies
- add @ts-expect-error to Loader usages
- reformat all scss files automatically with reformat-files command
Diffstat (limited to 'src/components/ui/Infobox.tsx')
-rw-r--r-- | src/components/ui/Infobox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/ui/Infobox.tsx b/src/components/ui/Infobox.tsx index 9782db151..a794a5e9b 100644 --- a/src/components/ui/Infobox.tsx +++ b/src/components/ui/Infobox.tsx | |||
@@ -85,6 +85,7 @@ class Infobox extends Component<IProps, IState> { | |||
85 | lines={10} | 85 | lines={10} |
86 | scale={0.3} | 86 | scale={0.3} |
87 | color="#FFF" | 87 | color="#FFF" |
88 | // @ts-expect-error Property 'component' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactLoader> & Readonly<LoaderProps> | ||
88 | component="span" | 89 | component="span" |
89 | /> | 90 | /> |
90 | {ctaLabel} | 91 | {ctaLabel} |