Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

✨ 1208 Handle lunch lectures through the webshop #1993

✨ 1208 Handle lunch lectures through the webshop

✨ 1208 Handle lunch lectures through the webshop #1993

Triggered via pull request August 14, 2023 09:42
Status Failure
Total duration 2m 19s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

linter.check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
linter_check: backend/services/core/migrations/20230810103128_fix_webshop_release_date.ts#L22
Too many blank lines at the end of file. Max of 0 allowed
linter_check: backend/services/core/migrations/20230810130719_make-product-price-numeric.ts#L16
Too many blank lines at the end of file. Max of 0 allowed
linter_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
linter_check: frontend/components/FileBrowser/useFileActionHandler.tsx#L103
React Hook useCallback has missing dependencies: 'confirm', 'renameObject', 'setAdditionalPath', 'setSelectedFilesIds', 'setUploadFiles', and 'slashesInPrefix'. Either include them or remove the dependency array. If 'setSelectedFilesIds' changes too often, find the parent component that defines it and wrap that definition in useCallback
linter_check: frontend/components/Webshop/Product.tsx#L52
React Hook useEffect has a missing dependency: 'selectedVariant'. Either include it or remove the dependency array
linter_check: frontend/components/Webshop/ProductCategories.tsx#L19
React Hook useEffect has missing dependencies: 'categories' and 'setSelectedCategory'. Either include them or remove the dependency array. If 'setSelectedCategory' changes too often, find the parent component that defines it and wrap that definition in useCallback
linter_check: frontend/pages/webshop/await-payment/[id].tsx#L32
React Hook useEffect has a missing dependency: 'refetch'. Either include it or remove the dependency array
linter_check: frontend/pages/webshop/await-payment/[id].tsx#L43
React Hook useEffect has missing dependencies: 'refetchCart', 'refetchChest', 'router', and 'user?.student_id'. Either include them or remove the dependency array
linter_check: frontend/providers/UserProvider.tsx#L40
React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array