Skip to content

Update prettier

Update prettier #647

Triggered via push June 12, 2024 19:22
Status Success
Total duration 51s
Artifacts

ci-workflow.yml

on: push
Check tsc, lint, and prettier
42s
Check tsc, lint, and prettier
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Check tsc, lint, and prettier
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check tsc, lint, and prettier
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/
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L66
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L114
React Hook useEffect has missing dependencies: 'cdsUrl' and 'setHooksCards'. Either include them or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L145
React Hook useEffect has a missing dependency: 'medicationBundle?.data'. Either include it or remove the dependency array. If 'setSelectedMedicationCard' needs the current value of 'medicationBundle.data', you can also switch to useReducer instead of useState and read 'medicationBundle.data' in the reducer
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L186
React Hook useEffect has missing dependencies: 'client', 'getFhirResource', 'patient', and 'user'. Either include them or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/MedReqDropDown.tsx#L191
React Hook useEffect has missing dependencies: 'refreshEtasuBundle' and 'refreshPharmacyBundle'. Either include them or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/cdsHooksCards/CdsHooksCard.tsx#L57
React Hook useEffect has a missing dependency: 'modifySmartLaunchURLs'. Either include it or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/etasuStatus/EtasuStatus.tsx#L44
React Hook useEffect has a missing dependency: 'updateEtasu'. Either include it or remove the dependency array
Check tsc, lint, and prettier: src/views/Patient/MedReqDropDown/pharmacyStatus/PharmacyStatus.tsx#L22
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
Check tsc, lint, and prettier: src/views/Patient/PatientView.tsx#L55
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Check tsc, lint, and prettier: src/views/Patient/PatientView.tsx#L132
React Hook useEffect has a missing dependency: 'getFhirResource'. Either include it or remove the dependency array