diff options
author | 2023-07-25 09:20:43 -0600 | |
---|---|---|
committer | 2023-07-26 16:28:22 +0000 | |
commit | 4bd3d6764bfd48c881d9722825309ddb5956c758 (patch) | |
tree | 53296e94d91ab2cdc57c4d32a1fbcee071ae7923 /src/components/ui/Loader.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/Loader.tsx')
-rw-r--r-- | src/components/ui/Loader.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/ui/Loader.tsx b/src/components/ui/Loader.tsx index 37555df16..d4457ae5f 100644 --- a/src/components/ui/Loader.tsx +++ b/src/components/ui/Loader.tsx | |||
@@ -28,6 +28,7 @@ class LoaderComponent extends Component<IProps> { | |||
28 | color === 'ACCENT' ? this.props.stores!.settings.app.accentColor : color; | 28 | color === 'ACCENT' ? this.props.stores!.settings.app.accentColor : color; |
29 | 29 | ||
30 | return ( | 30 | return ( |
31 | // @ts-expect-error Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<ReactLoader> & Readonly<LoaderProps>' | ||
31 | <Loader | 32 | <Loader |
32 | loaded={loaded} | 33 | loaded={loaded} |
33 | width={4} | 34 | width={4} |