Intake Form Validation - Phone Numbers #1294
Annotations
1 error and 12 warnings
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#L61
Replace `null` with `⏎····null,⏎··`
|
run-lint:
frontend/src/components/intake/NewCaregiverModal.tsx#L62
Replace `string·|·null` with `⏎····string·|·null⏎··`
|
run-lint:
frontend/src/components/intake/NewCaregiverModal.tsx#L114
Replace `!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(value)` with `⏎······!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(⏎········value,⏎······)⏎····`
|
run-lint:
frontend/src/components/intake/NewCaregiverModal.tsx#L122
Replace `!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(value)` with `⏎······!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(⏎········value,⏎······)⏎····`
|
run-lint:
frontend/src/components/intake/NewProviderModal.tsx#L51
Replace `null` with `⏎····null,⏎··`
|
run-lint:
frontend/src/components/intake/NewProviderModal.tsx#L52
Replace `string·|·null` with `⏎····string·|·null⏎··`
|
run-lint:
frontend/src/components/intake/NewProviderModal.tsx#L78
Replace `!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(value)` with `⏎······!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(⏎········value,⏎······)⏎····`
|
run-lint:
frontend/src/components/intake/NewProviderModal.tsx#L86
Replace `!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(value)` with `⏎······!/^(\+\d{1,3}\s?)?((\(\d{3}\)\s?)|(\d{3})(\s|-?))(\d{3}(\s|-?))(\d{4}[,]?)(\s?([E|e]xt[.]?)(\s?\d+))?/.test(⏎········value,⏎······)⏎····`
|
run-lint:
frontend/src/components/intake/ReferralForm.tsx#L76
Replace `referringWorkerContactError,·setreferringWorkerContactError` with `⏎····referringWorkerContactError,⏎····setreferringWorkerContactError,⏎··`
|
run-lint:
frontend/src/components/intake/ReferralForm.tsx#L79
'error' is defined but never used
|