(wip) fix url for help documentation #620
Annotations
2 errors and 12 warnings
Run yarn lint:
src/views/navbar/help-button.component.tsx#L10
Unexpected console statement
|
Run yarn lint
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run yarn lint:
src/components/controls/calendar/calendar.component.tsx#L46
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
|
Run yarn lint:
src/components/controls/calendar/calendar.component.tsx#L46
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run yarn lint:
src/components/controls/calendar/calendar.component.tsx#L166
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
|
Run yarn lint:
src/components/controls/calendar/calendar.component.tsx#L174
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
|
Run yarn lint:
src/components/controls/calendar/calendar.component.tsx#L191
React Hook useEffect has missing dependencies: 'onDateChange' and 'question.id'. Either include them or remove the dependency array. Outer scope values like 'window.jQuery' aren't valid dependencies because mutating them doesn't re-render the component
|
Run yarn lint:
src/components/controls/date/ethiohri-date.component.tsx#L53
React Hook useEffect has a missing dependency: 'question'. Either include it or remove the dependency array. If 'setErrors' needs the current value of 'question', you can also switch to useReducer instead of useState and read 'question' in the reducer
|
Run yarn lint:
src/components/controls/date/ethiohri-date.component.tsx#L53
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Run yarn lint:
src/components/controls/date/ethiohri-date.component.tsx#L141
React Hook useEffect has missing dependencies: 'fields', 'handler', and 'question'. Either include them or remove the dependency array
|
Run yarn lint:
src/components/controls/date/ethiohri-date.component.tsx#L149
React Hook useEffect has a missing dependency: 'question.questionOptions.concept'. Either include it or remove the dependency array
|
Run yarn lint:
src/views/hiv-baseline/hiv-baseline-summary.component.tsx#L90
React Hook useEffect has unnecessary dependencies: 'encounterType_intake_A' and 'encounterType_intake_B'. Either exclude them or remove the dependency array. Outer scope values like 'encounterType_intake_A' aren't valid dependencies because mutating them doesn't re-render the component
|
Loading