Skip to content

Intake Form Validation - Phone Numbers #1331

Intake Form Validation - Phone Numbers

Intake Form Validation - Phone Numbers #1331

Triggered via pull request April 2, 2024 15:11
Status Failure
Total duration 1m 0s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 7 warnings
run-lint: frontend/src/components/intake/NewCaregiverModal.tsx#L61
'indivConsiderationsChanged' is already defined
run-lint: frontend/src/components/intake/NewCaregiverModal.tsx#L61
'setIndivConsiderationsChanged' is already defined
run-lint: frontend/src/components/intake/ProgramForm.tsx#L189
JSX props should not use functions
run-lint: frontend/src/components/intake/ReferralForm.tsx#L157
JSX props should not use functions
run-lint: frontend/src/components/intake/ReferralForm.tsx#L211
JSX props should not use functions
run-lint
Process completed with exit code 1.
run-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, dorny/paths-filter@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
run-lint: frontend/src/components/intake/NewCaregiverModal.tsx#L58
Replace `·useState(⏎····false,⏎··` with `⏎····useState(false`
run-lint: frontend/src/components/intake/ReferralForm.tsx#L76
Replace `⏎····referringWorkerContactError,⏎····setreferringWorkerContactError,` with `referringWorkerContactError,·setreferringWorkerContactError]·=`
run-lint: frontend/src/components/intake/ReferralForm.tsx#L79
Replace `]·=` with `·`
run-lint: frontend/src/components/intake/child-information/AddChildPage.tsx#L60
Replace `⏎····childInfoSchoolPhoneNoError,⏎····setChildInfoSchoolPhoneNoError,` with `childInfoSchoolPhoneNoError,·setChildInfoSchoolPhoneNoError]·=`