Skip to content

General principles main view routing #99

General principles main view routing

General principles main view routing #99

Triggered via pull request April 29, 2024 03:40
Status Failure
Total duration 48s
Artifacts

lint-check.yml

on: pull_request
Backend lint and style check
17s
Backend lint and style check
Frontend lint and style check
37s
Frontend lint and style check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Frontend lint and style check: dfm-sideline-sidekick-app/components/NumbersSection.tsx#L2
'React' is defined but never used. Allowed unused vars must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyCare.tsx#L10
'React' is defined but never used. Allowed unused vars must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L7
'BulletPoint' is defined but never used. Allowed unused vars must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L11
'Pressable' is defined but never used. Allowed unused vars must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L49
'setIsOverviewPressed' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L50
'setIsTreatmentPressed' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L92
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<GeneralPrinciple | undefined>`
Frontend lint and style check: dfm-sideline-sidekick-app/pages/MainPrinciples.tsx#L1
'useNavigation' is defined but never used. Allowed unused vars must match /^_/u
Frontend lint and style check: dfm-sideline-sidekick-app/pages/MainPrinciples.tsx#L4
'React' is defined but never used. Allowed unused vars must match /^_/u
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/.
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/components/bar.tsx#L6
`../icons/homeIcon` import should occur after import of `../icons/generalPrinciplesIcon`
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
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyCare.tsx#L9
There should be at least one empty line between import groups
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyCare.tsx#L10
`react` import should occur before import of `react-native`
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L6
There should be at least one empty line between import groups
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L9
`react-native` import should occur before import of `../components/BulletPoint`
Frontend lint and style check: dfm-sideline-sidekick-app/pages/EmergencyPrinciples.tsx#L20
`../components/BulletRenderer` import should occur before import of `../components/StringRenderer`
Frontend lint and style check: dfm-sideline-sidekick-app/pages/MainPrinciples.tsx#L1
'/home/runner/work/DFM-Sideline-Sidekick-App/DFM-Sideline-Sidekick-App/dfm-sideline-sidekick-app/node_modules/@react-navigation/native/lib/module/index.js' imported multiple times
Frontend lint and style check: dfm-sideline-sidekick-app/pages/MainPrinciples.tsx#L2
'/home/runner/work/DFM-Sideline-Sidekick-App/DFM-Sideline-Sidekick-App/dfm-sideline-sidekick-app/node_modules/@react-navigation/native/lib/module/index.js' imported multiple times
Frontend lint and style check: dfm-sideline-sidekick-app/pages/MainPrinciples.tsx#L4
Member 'useEffect' of the import declaration should be sorted alphabetically