Categories page #178
lint-check.yml
on: pull_request
Backend lint and style check
13s
Frontend lint and style check
34s
Admin portal frontend lint and style check
21s
Annotations
3 errors and 14 warnings
Admin portal frontend lint and style check:
admin-portal-frontend/requests.ts#L73
Invalid type "number" of template literal expression
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/SearchBar.tsx#L13
Unsafe assignment of an `any` value
|
Admin portal frontend lint and style check
Process completed with exit code 1.
|
Backend lint and style check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Admin portal frontend lint and style check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/all-page/page.tsx#L3
There should be at least one empty line between import groups
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/all-page/page.tsx#L4
There should be no empty line within import group
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/all-page/page.tsx#L4
`../icons/filter.svg` import should occur after import of `../components/Toast`
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/all-page/page.tsx#L7
Using exported name 'PageContainer' as identifier for default export
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/all-page/page.tsx#L103
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/CategoryContainer.tsx#L8
There should be at least one empty line between import groups
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/CategoryContainer.tsx#L9
`../api/Categories` import should occur before import of `../icons/edit.svg`
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/CategoryContainer.tsx#L72
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/CategoryContainer.tsx#L75
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Admin portal frontend lint and style check:
admin-portal-frontend/src/app/components/DeletePopup.tsx#L25
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Frontend lint and style check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Frontend lint and style check:
dfm-sideline-sidekick-app/download/connection/checkConnection.ts#L7
Caution: `NetInfo` also has a named export `fetch`. Check if you meant to write `import {fetch} from '@react-native-community/netinfo'` instead
|