Skip to content

huge refactor

huge refactor #1

Triggered via push November 5, 2024 14:36
Status Failure
Total duration 2m 5s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 5 warnings
test (ubuntu-latest): .erb/configs/webpack.config.base.ts#L8
Relative import from another package is not allowed. Use `electron-react-boilerplate/package.json` instead of `../../release/app/package.json`
test (ubuntu-latest): .erb/configs/webpack.config.renderer.dev.ts#L106
Expected exception block, space or tab after '//' in comment
test (ubuntu-latest): .erb/configs/webpack.config.renderer.prod.ts#L82
Expected exception block, space or tab after '//' in comment
test (ubuntu-latest): .erb/scripts/electron-rebuild.js#L3
Relative import from another package is not allowed. Use `electron-react-boilerplate/package.json` instead of `../../release/app/package.json`
test (ubuntu-latest): src/components/mode-toggle.tsx#L6
Prefer default export on a file with single export
test (ubuntu-latest): src/components/theme-provider.tsx#L6
'React' is not defined
test (ubuntu-latest): src/components/theme-provider.tsx#L7
propType "defaultTheme" is not required, but has no corresponding defaultProps declaration
test (ubuntu-latest): src/components/theme-provider.tsx#L8
propType "storageKey" is not required, but has no corresponding defaultProps declaration
test (ubuntu-latest): src/components/theme-provider.tsx#L51
The 'value' object (at line 51) passed as the value prop to the Context provider (at line 60) changes every render. To fix this consider wrapping it in a useMemo hook
test (ubuntu-latest): src/components/theme-provider.tsx#L53
'theme' is already declared in the upper scope on line 29 column 10
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
test (windows-latest)
The operation was canceled.
test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
test (macos-latest)
The operation was canceled.
test (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (ubuntu-latest): src/renderer/lib/api.ts#L8
Unexpected console statement
test (ubuntu-latest): src/renderer/lib/api.ts#L20
Unexpected console statement
test (ubuntu-latest): src/renderer/lib/api.ts#L32
Unexpected console statement
test (ubuntu-latest): src/renderer/lib/api.ts#L52
Unexpected console statement