huge refactor #1
Annotations
10 errors and 5 warnings
npm test:
.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`
|
npm test:
.erb/configs/webpack.config.renderer.dev.ts#L106
Expected exception block, space or tab after '//' in comment
|
npm test:
.erb/configs/webpack.config.renderer.prod.ts#L82
Expected exception block, space or tab after '//' in comment
|
npm test:
.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`
|
npm test:
src/components/mode-toggle.tsx#L6
Prefer default export on a file with single export
|
npm test:
src/components/theme-provider.tsx#L6
'React' is not defined
|
npm test:
src/components/theme-provider.tsx#L7
propType "defaultTheme" is not required, but has no corresponding defaultProps declaration
|
npm test:
src/components/theme-provider.tsx#L8
propType "storageKey" is not required, but has no corresponding defaultProps declaration
|
npm test:
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
|
npm test:
src/components/theme-provider.tsx#L53
'theme' is already declared in the upper scope on line 29 column 10
|
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/
|
npm test:
src/renderer/lib/api.ts#L8
Unexpected console statement
|
npm test:
src/renderer/lib/api.ts#L20
Unexpected console statement
|
npm test:
src/renderer/lib/api.ts#L32
Unexpected console statement
|
npm test:
src/renderer/lib/api.ts#L52
Unexpected console statement
|
Loading