Fix lint #2008
Annotations
10 errors and 12 warnings
Run lint:
src/components/Card.tsx#L11
Type '"cardVariants"' does not satisfy the constraint '"textVariants" | "inputVariants" | "spacing" | "colors" | "borderRadii" | "breakpoints" | "Font"'.
|
Run lint:
src/components/Card.tsx#L13
Type 'import("/home/runner/work/wallet-app/wallet-app/node_modules/@shopify/restyle/dist/types").RestyleFunctionContainer<import("/home/runner/work/wallet-app/wallet-app/node_modules/@shopify/restyle/dist/createVariant").VariantProps<{ spacing: { '-24': number; '-8': number; '-7': number; '-0.25': number; '0.25': number; ...' is not assignable to type 'import("/home/runner/work/wallet-app/wallet-app/node_modules/@shopify/restyle/dist/types").RestyleFunctionContainer<import("/home/runner/work/wallet-app/wallet-app/node_modules/@shopify/restyle/dist/createVariant").VariantProps<{ spacing: { '-24': number; '-8': number; '-7': number; '-0.25': number; '0.25': number; ...'. Two different types with this name exist, but they are unrelated.
|
Run lint:
src/components/Card.tsx#L13
No overload matches this call.
|
Run lint:
src/components/GlobalError.tsx#L67
Type '{ width: "100%"; title: string | undefined; onPress: () => void; borderRadius: "full"; backgroundColor: string; backgroundColorOpacityPressed: number; titleColorDisabled: "secondaryText"; titleColor: "base.black"; }' is not assignable to type 'BackgroundColorProps<{ spacing: { '-24': number; '-8': number; '-7': number; '-0.25': number; '0.25': number; '0.5': number; '0.75': number; '1': number; '2.5': number; '6': number; '7': number; '11': number; '14': number; '15': number; '28': number; "0": number; "2": number; ... 90 more ...; "-5xl": number; }; ... ...'.
|
Run lint:
src/components/HeliumActionSheet.tsx#L60
Type '"primary"' is not assignable to type '"primaryText" | "blue.500" | "inputBackground" | "transparent" | "transparent10" | "bg.tertiary" | "purple.500" | "bg.primary" | "primaryBackground" | "bg.secondary" | "secondaryBackground" | ... 440 more ... | "fg.brand-primary-alt"'.
|
Run lint:
src/components/HeliumActionSheet.tsx#L159
Type '"3"' is not assignable to type 'ResponsiveValue<"4xl" | "xs" | "none" | "xxs" | "md" | "lg" | "xl" | "2xl" | "3xl" | "sm" | "full", { spacing: { '-24': number; '-8': number; '-7': number; '-0.25': number; '0.25': number; '0.5': number; '0.75': number; '1': number; ... 99 more ...; "-5xl": number; }; ... 5 more ...; textVariants: { ...; }; }> | und...'.
|
Run lint:
src/components/HeliumActionSheet.tsx#L164
Type '"surfaceText"' is not assignable to type 'ResponsiveValue<"primaryText" | "blue.500" | "inputBackground" | "transparent" | "transparent10" | "bg.tertiary" | "purple.500" | "bg.primary" | "primaryBackground" | "bg.secondary" | ... 441 more ... | "fg.brand-primary-alt", { ...; }> | undefined'.
|
Run lint:
src/components/Markdown.tsx#L20
Property 'm' does not exist on type '{ '-24': number; '-8': number; '-7': number; '-0.25': number; '0.25': number; '0.5': number; '0.75': number; '1': number; '2.5': number; '6': number; '7': number; '11': number; '14': number; '15': number; '28': number; "0": number; "2": number; "3": number; ... 89 more ...; "-5xl": number; }'.
|
Run lint:
src/components/Markdown.tsx#L23
Property 'body2' does not exist on type '{ textXsRegular: { fontFamily: string; fontSize: number; fontWeight: number; }; textXsMedium: { fontFamily: string; fontSize: number; fontWeight: number; }; textXsSemibold: { fontFamily: string; fontSize: number; }; ... 40 more ...; display2XlBold: { ...; }; }'.
|
Run lint:
src/components/Markdown.tsx#L28
Property 'body2' does not exist on type '{ textXsRegular: { fontFamily: string; fontSize: number; fontWeight: number; }; textXsMedium: { fontFamily: string; fontSize: number; fontWeight: number; }; textXsSemibold: { fontFamily: string; fontSize: number; }; ... 40 more ...; display2XlBold: { ...; }; }'.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/
|
Run lint:
src/components/Pill.tsx#L80
Unexpected any. Specify a different type
|
Run lint:
src/components/Pill.tsx#L81
Unexpected any. Specify a different type
|
Run lint:
src/components/Pill.tsx#L85
Unexpected any. Specify a different type
|
Run lint:
src/components/Pill.tsx#L93
Unexpected any. Specify a different type
|
Run lint:
src/components/SubmitButton.tsx#L52
Unexpected any. Specify a different type
|
Run lint:
src/features/collectables/HotspotCompressedListItem.tsx#L83
Unexpected any. Specify a different type
|
Run lint:
src/features/collectables/HotspotCompressedListItem.tsx#L108
Unexpected any. Specify a different type
|
Run lint:
src/features/collectables/NftMetadataScreen.tsx#L74
Unexpected any. Specify a different type
|
Run lint:
src/features/hotspot-onboarding/iot-ble/ScanHotspots.tsx#L32
Unexpected any. Specify a different type
|
Run lint:
src/features/onboarding/AccountConfirmPinScreen.tsx#L40
Forbidden non-null assertion
|
Loading