soriting ok #2844
Annotations
10 errors and 12 warnings
test:
src/components/Dashboard/PatientList/index.tsx#L124
Replace `·await·services.cohorts.fetchPatientLi*` with `⏎········(await·services.cohorts.fetchPatientLi)·*⏎········`
|
|
|
|
|
|
|
|
|
|
test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v4.0.2. 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
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test:
src/components/CreationCohort/ControlPanel/ControlPanel.tsx#L103
'uuid' is assigned a value but never used
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L113
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L126
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L131
React Hook useEffect has missing dependencies: 'criteriaData.data.biologyData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CcamForm/index.tsx#L69
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/CcamForm/index.tsx#L74
React Hook useEffect has missing dependencies: 'criteriaData.data.ccamData' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/Cim10Form/index.tsx#L82
Unexpected any. Specify a different type
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/Cim10Form/index.tsx#L87
React Hook useEffect has missing dependencies: 'criteriaData.data.cim10Diagnostic' and 'currentCriteria'. Either include them or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/DocumentsForm/DocumentsForm.tsx#L115
React Hook useEffect has missing dependencies: 'defaultValues.search' and 'searchInputError'. Either include them or remove the dependency array. You can also do a functional update 'setSearchInputError(s => ...)' if you only need 'searchInputError' in the 'setSearchInputError' call
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/EncounterForm/index.tsx#L48
Arrow function has too many statements (31). Maximum allowed is 30
|