Skip to content

fix: types and stuff #2862

fix: types and stuff

fix: types and stuff #2862

Triggered via push January 15, 2025 16:41
Status Success
Total duration 3m 36s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L38
React Hook useEffect has a missing dependency: 'temporalConstraints?.length'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L52
React Hook useEffect has missing dependencies: 'criteriaGroup', 'dispatch', 'selectedCriteria', and 'temporalConstraints'. Either include them or remove the dependency array
test: src/components/CreationCohort/DiagramView/index.tsx#L51
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
test: src/components/CreationCohort/Modals/ModalCreateNewRequest/ModalCreateNewRequest.tsx#L112
React Hook useEffect has missing dependencies: '_fetchProject' and '_fetchRequestNumber'. Either include them or remove the dependency array
test: src/components/CreationCohort/Requeteur.tsx#L115
React Hook useCallback has missing dependencies: 'config.features.questionnaires.enabled' and 'valueSets.cache'. Either include them or remove the dependency array
test: src/components/CreationCohort/Requeteur.tsx#L125
React Hook useEffect has missing dependencies: 'criteriaGroup', 'dispatch', and 'selectedCriteria'. Either include them or remove the dependency array
test: src/components/Dashboard/BiologyList/index.tsx#L42
Arrow function has too many statements (31). Maximum allowed is 30
test: src/components/Dashboard/BiologyList/index.tsx#L177
React Hook useEffect has a missing dependency: 'getSavedFilters'. Either include it or remove the dependency array
test: src/components/Dashboard/BiologyList/index.tsx#L204
React Hook useEffect has missing dependencies: 'dispatch', 'groupId', and 'setSearchParams'. Either include them or remove the dependency array
test: src/components/Dashboard/BiologyList/index.tsx#L211
React Hook useEffect has a missing dependency: '_fetchBiology'. Either include it or remove the dependency array