Upgrade to RN 0.73.10 #2008
quality_checks.yml
on: pull_request
Quality Checks
4m 24s
Annotations
6 errors and 11 warnings
Quality Checks:
src/app/view/IAP/IapProgress.tsx#L84
Argument of type '{ progressContainer: { position: "absolute"; top: number; left: number; right: number; bottom: number; justifyContent: "center"; alignItems: "center"; flex: number; backgroundColor: string; }; headerTextStyle: { ...; }; spinner: { ...; }; }' is not assignable to parameter of type '{ progressContainer: { position: "absolute"; top: number; left: number; right: number; bottom: number; justifyContent: "center"; alignItems: "center"; flex: number; backgroundColor: string; }; headerTextStyle: { ...; }; spinner: { ...; }; } & NamedStyles<...>'.
|
Quality Checks:
src/screens/cozy-app/CozyAppScreen.styles.ts#L29
Argument of type '{ ready: { backgroundColor: string; opacity: number; }; notReady: { opacity: number; }; innerOverlay: { position: "absolute"; top: number; left: number; width: "100%"; height: "100%"; }; fadingContainer: { ...; }; mainView: { ...; }; immersiveHeight: { ...; }; progressBarContainer: { ...; }; }' is not assignable to parameter of type '{ ready: { backgroundColor: string; opacity: number; }; notReady: { opacity: number; }; innerOverlay: { position: "absolute"; top: number; left: number; width: "100%"; height: "100%"; }; fadingContainer: { ...; }; mainView: { ...; }; immersiveHeight: { ...; }; progressBarContainer: { ...; }; } & NamedStyles<...>'.
|
Quality Checks:
src/ui/Button/styles.ts#L30
Argument of type '{ button: { borderRadius: number; paddingHorizontal: number; paddingVertical: number; width: "100%"; }; primary: { backgroundColor: string; }; secondary: { backgroundColor: string; borderColor: string; borderWidth: number; }; disabled_primary: { ...; }; disabled_secondary: { ...; }; }' is not assignable to parameter of type '{ button: { borderRadius: number; paddingHorizontal: number; paddingVertical: number; width: "100%"; }; primary: { backgroundColor: string; }; secondary: { backgroundColor: string; borderColor: string; borderWidth: number; }; disabled_primary: { ...; }; disabled_secondary: { ...; }; } & NamedStyles<...>'.
|
Quality Checks:
src/ui/CozyDialogs/styles.ts#L23
Argument of type '{ actions: { flexGrow: number; width: "auto"; }; actionsLast: { marginLeft: number; }; content: { marginBottom: number; paddingHorizontal: number; }; dialog: { alignSelf: "center"; backgroundColor: string; borderRadius: number; boxShadow: string; justifyself: string; width: "100%"; }; ... 4 more ...; header: { ...; ...' is not assignable to parameter of type '{ actions: { flexGrow: number; width: "auto"; }; actionsLast: { marginLeft: number; }; content: { marginBottom: number; paddingHorizontal: number; }; dialog: { alignSelf: "center"; backgroundColor: string; borderRadius: number; boxShadow: string; justifyself: string; width: "100%"; }; ... 4 more ...; header: { ...; ...'.
|
Quality Checks:
src/ui/Tooltip/styles.ts#L24
Argument of type '{ tooltip: { width: "100%"; position: "relative"; display: "flex"; }; label: { alignItems: "center"; backgroundColor: string; borderRadius: number; display: "flex"; flexDirection: "row"; marginTop: number; padding: number; }; icon: { ...; }; text: { ...; }; }' is not assignable to parameter of type '{ tooltip: { width: "100%"; position: "relative"; display: "flex"; }; label: { alignItems: "center"; backgroundColor: string; borderRadius: number; display: "flex"; flexDirection: "row"; marginTop: number; padding: number; }; icon: { ...; }; text: { ...; }; } & NamedStyles<...>'.
|
Quality Checks
Process completed with exit code 1.
|
Quality Checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Quality Checks:
src/app/domain/authentication/services/SynchronizeService.ts#L1
There should be at least one empty line between import groups
|
Quality Checks:
src/app/domain/backup/services/manageAlbums.ts#L110
Forbidden non-null assertion
|
Quality Checks:
src/app/domain/backup/services/manageLocalBackupConfig.ts#L146
Forbidden non-null assertion
|
Quality Checks:
src/app/domain/backup/services/manageProgress.ts#L1
There should be no empty line within import group
|
Quality Checks:
src/app/domain/backup/services/uploadMedia.android.ts#L20
Forbidden non-null assertion
|
Quality Checks:
src/app/domain/errors/navigateToError.ts#L51
Unnecessary optional chain on a non-nullish value
|
Quality Checks:
src/app/domain/iap/services/clouderyOffer.ts#L49
Unnecessary optional chain on a non-nullish value
|
Quality Checks:
src/app/domain/iap/services/clouderyOffer.ts#L49
Unnecessary optional chain on a non-nullish value
|
Quality Checks:
src/app/domain/iap/services/clouderyOffer.ts#L50
Unnecessary optional chain on a non-nullish value
|
Quality Checks:
src/app/domain/iap/services/clouderyOffer.ts#L50
Unnecessary optional chain on a non-nullish value
|