Form validation #1291
Annotations
1 error and 12 warnings
Lint frontend
Process completed with exit code 1.
|
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/.
|
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/
|
Lint frontend:
frontend/src/components/intake/NewCaregiverModal.tsx#L61
Replace `⏎····null⏎··` with `null`
|
Lint frontend:
frontend/src/components/intake/NewCaregiverModal.tsx#L114
Replace `'Required'` with `"Required"`
|
Lint frontend:
frontend/src/components/intake/NewCaregiverModal.tsx#L116
Replace `'Invalid·Date'` with `"Invalid·Date"`
|
Lint frontend:
frontend/src/components/intake/ProgramForm.tsx#L106
Replace `'Required'` with `"Required"`
|
Lint frontend:
frontend/src/components/intake/ProgramForm.tsx#L107
Replace `!/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/.test(value)` with `⏎······!/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/.test(value)⏎····`
|
Lint frontend:
frontend/src/components/intake/ProgramForm.tsx#L108
Replace `'Invalid·Date'` with `"Invalid·Date"`
|
Lint frontend:
frontend/src/components/intake/ProgramForm.tsx#L188
Replace `'red'·}}>{formik.errors.suggestedStartDate}` with `"red"·}}>⏎····················{formik.errors.suggestedStartDate}⏎··················`
|
Lint frontend:
frontend/src/components/intake/ReferralForm.tsx#L79
Replace `'Required'` with `"Required"`
|
Lint frontend:
frontend/src/components/intake/ReferralForm.tsx#L80
Replace `!/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/.test(value)` with `⏎······!/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/\d{4}$/.test(value)⏎····`
|
Lint frontend:
frontend/src/components/intake/ReferralForm.tsx#L81
Replace `'Invalid·Date'` with `"Invalid·Date"`
|
The logs for this run have expired and are no longer available.
Loading