Update pull_request_template.md #133
Annotations
19 errors and 11 warnings
Typecheck:
src/cacheProvider.ts#L11
Binding element 'key' implicitly has an 'any' type.
|
Typecheck:
src/cacheProvider.ts#L11
Binding element 'value' implicitly has an 'any' type.
|
Typecheck:
src/components/PaymentCard.tsx#L3
Could not find a declaration file for module 'geopattern'. '/home/runner/work/hcb-mobile/hcb-mobile/node_modules/geopattern/lib/index.js' implicitly has an 'any' type.
|
Typecheck:
src/pages/Settings.tsx#L68
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ default: any; artskillz: any; cashmoney: any; dev: any; testflight: any; hacknight: any; }'.
|
Typecheck:
src/pages/card.tsx#L99
'card' is possibly 'undefined'.
|
Typecheck:
src/pages/card.tsx#L114
Type 'Card | undefined' is not assignable to type 'Card'.
|
Typecheck:
src/pages/card.tsx#L120
'card' is possibly 'undefined'.
|
Typecheck:
src/pages/card.tsx#L129
This comparison appears to be unintentional because the types 'boolean' and 'string' have no overlap.
|
Typecheck:
src/pages/card.tsx#L129
'card' is possibly 'undefined'.
|
Typecheck:
src/pages/card.tsx#L142
'card' is possibly 'undefined'.
|
Prettier
Process completed with exit code 1.
|
ESLint:
src/Navigator.tsx#L180
'route' is defined but never used. Allowed unused args must match /^_/u
|
ESLint:
src/pages/index.tsx#L3
'useFocusEffect' is defined but never used
|
ESLint:
src/pages/index.tsx#L216
'reloadOrganizations' is assigned a value but never used
|
ESLint:
src/pages/index.tsx#L219
'reloadInvitations' is assigned a value but never used
|
ESLint:
src/pages/index.tsx#L222
'mutate' is assigned a value but never used
|
ESLint:
src/pages/organization/AccountNumber.tsx#L11
There should be at least one empty line between import groups
|
ESLint:
src/pages/organization/AccountNumber.tsx#L12
`expo-constants` import should occur before import of `react`
|
ESLint
Process completed with exit code 1.
|
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint:
src/cacheProvider.ts#L16
Unexpected console statement
|
ESLint:
src/cacheProvider.ts#L25
Unexpected console statement
|
ESLint:
src/components/PaymentCard.tsx#L80
React Hook useEffect has missing dependencies: 'card.id', 'onCardLoad', 'svgHeight', and 'svgWidth'. Either include them or remove the dependency array. If 'onCardLoad' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
ESLint:
src/pages/Invitation.tsx#L46
React Hook useEffect has a missing dependency: 'navigation'. Either include it or remove the dependency array
|
ESLint:
src/pages/card.tsx#L65
React Hook useEffect has a missing dependency: 'navigation'. Either include it or remove the dependency array
|
ESLint:
src/pages/index.tsx#L231
React Hook useEffect has a missing dependency: 'fetcher'. Either include it or remove the dependency array
|
ESLint:
src/pages/login.tsx#L69
React Hook useEffect has missing dependencies: 'request' and 'setToken'. Either include them or remove the dependency array
|
ESLint:
src/pages/organization/AccountNumber.tsx#L88
React Hook useEffect has a missing dependency: 'navigation'. Either include it or remove the dependency array
|