Calendar view shenal fernando #203
Merged
Annotations
10 errors and 10 warnings
|
Run ESLint:
guard_app/src/screen/AvailabilityScreen.tsx#L755
Replace `·backgroundColor:·'#FFFFFF',·borderRadius:·16,·padding:·24,·width:·'85%',·maxWidth:·400` with `⏎····backgroundColor:·'#FFFFFF',⏎····borderRadius:·16,⏎····padding:·24,⏎····width:·'85%',⏎····maxWidth:·400,⏎·`
|
|
Run ESLint:
guard_app/src/screen/AvailabilityScreen.tsx#L754
Replace `·flex:·1,·backgroundColor:·'rgba(0,·0,·0,·0.5)',·justifyContent:·'center',·alignItems:·'center'` with `⏎····flex:·1,⏎····backgroundColor:·'rgba(0,·0,·0,·0.5)',⏎····justifyContent:·'center',⏎····alignItems:·'center',⏎·`
|
|
Run ESLint:
guard_app/src/screen/AvailabilityScreen.tsx#L714
Replace `·backgroundColor:·'#FFFFFF',·padding:·16,·borderTopWidth:·1,·borderTopColor:·'#E5E7EB'` with `⏎····backgroundColor:·'#FFFFFF',⏎····padding:·16,⏎····borderTopWidth:·1,⏎····borderTopColor:·'#E5E7EB',⏎·`
|
|
Run ESLint:
guard_app/src/screen/AvailabilityScreen.tsx#L709
Replace `·width:·60,·alignItems:·'center',·justifyContent:·'center',·backgroundColor:·'#F9FAFB'` with `⏎····width:·60,⏎····alignItems:·'center',⏎····justifyContent:·'center',⏎····backgroundColor:·'#F9FAFB',⏎·`
|
|
Run ESLint:
guard_app/src/screen/AvailabilityScreen.tsx#L382
`'` can be escaped with `'`, `‘`, `'`, `’`
|
|
|
|
|
|
Run ESLint:
guard_app/src/components/ShiftDetailsModal.tsx#L16
Replace `⏎······?·'#22c55e'⏎······:·s.status·===·'Pending'⏎······?·'#3b82f6'⏎·····` with `·?·'#22c55e'·:·s.status·===·'Pending'·?·'#3b82f6'`
|
|
Run ESLint:
guard_app/src/api/availability.ts#L110
Replace `⏎··startDate?:·string;⏎··endDate?:·string;⏎` with `·startDate?:·string;·endDate?:·string·`
|
|
Run ESLint:
guard_app/App.tsx#L6
Replace `·registerPushTokenIfNeeded,·subscribeToPushTokenChanges·` with `⏎··registerPushTokenIfNeeded,⏎··subscribeToPushTokenChanges,⏎`
|
|
Run ESLint:
guard_app/src/api/availability.ts#L74
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L51
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L51
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L50
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L50
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L49
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L49
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/availability.ts#L47
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/src/api/attendance.ts#L10
Unexpected any. Specify a different type
|
|
Run ESLint:
guard_app/App.tsx#L6
`./src/lib/pushNotifications` import should occur before import of `./src/navigation/AppNavigator`
|
Loading