Skip to content

Feature/patient info #54

Feature/patient info

Feature/patient info #54

Triggered via pull request January 12, 2024 20:15
Status Success
Total duration 52s
Artifacts

lint.yml

on: pull_request
Run linters
45s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
src/views/clinicalGenomic/clinicalPatientView.js#L4
'useTheme' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
src/views/clinicalGenomic/clinicalPatientView.js#L9
'useSidebarWriterContext' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
src/views/clinicalGenomic/useClinicalPatientData.js#L5
'formatKey' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
src/views/clinicalGenomic/useClinicalPatientData.js#L27
'key' is defined but never used. Allowed unused args must match /^_/u (no-unused-vars)
src/views/clinicalGenomic/widgets/patientSidebar.js#L5
'useTheme' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
src/views/clinicalGenomic/widgets/patientSidebar.js#L159
The 'handleHeaderClick' function makes the dependencies of useEffect Hook (at line 185) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleHeaderClick' in its own useCallback() Hook (react-hooks/exhaustive-deps)
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/