Add: cache-control headers on each http request(suggested by fortify) #116
Annotations
9 errors and 2 warnings
App.js#L92
Replace `·await·localStorage.getItem(⏎········"currencySymbol"⏎······` with `⏎········await·localStorage.getItem("currencySymbol"` (prettier/prettier)
|
App.js#L228
Inline style: { flex: 1 } (react-native/no-inline-styles)
|
src/hooks/useGetSecurityCheckAnswersByConsultationId.js#L6
Replace `·await·clientSvc.getSecurityCheckAnswersByConsultationId(⏎······consultationId⏎····` with `⏎······await·clientSvc.getSecurityCheckAnswersByConsultationId(consultationId` (prettier/prettier)
|
src/hooks/useMarkNotificationsAsRead.js#L13
Replace `·await·notificationsSvc.markNotificationsAsRead(⏎······notificationIds⏎····` with `⏎······await·notificationsSvc.markNotificationsAsRead(notificationIds` (prettier/prettier)
|
src/hooks/useSendInformationPortalSuggestion.js#L8
Replace `·await·clientSvc.sendInformationPortalSuggestion(⏎······suggestion⏎····` with `⏎······await·clientSvc.sendInformationPortalSuggestion(suggestion` (prettier/prettier)
|
src/utils/showToast.js#L20
Insert `··` (prettier/prettier)
|
src/utils/showToast.js#L21
Insert `··` (prettier/prettier)
|
src/utils/showToast.js#L26
Insert `··` (prettier/prettier)
|
src/utils/showToast.js#L27
Insert `··` (prettier/prettier)
|
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, wearerequired/lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
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/
|