Allows button message amount type to be string #157
Annotations
1 error and 13 warnings
main
Process completed with exit code 1.
|
main
The following actions uses Node.js version which is deprecated 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/
|
main:
packages/react-paypal-js/src/components/PayPalButtons.tsx#L127
React Hook useEffect has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies
|
main:
packages/react-paypal-js/src/context/scriptProviderContext.ts#L21
'_scriptId' is assigned a value but never used
|
main:
packages/react-paypal-js/src/index.ts#L21
There should be at least one empty line between import groups
|
main:
packages/react-paypal-js/src/index.ts#L22
`@paypal/sdk-constants/dist/module` import should occur before type import of `@paypal/paypal-js`
|
main:
packages/react-paypal-js/src/stories/payPalHostedFields/PayPalHostedFields.stories.tsx#L246
'amount' is defined but never used
|
main:
packages/react-paypal-js/src/types/scriptProviderTypes.ts#L8
Unexpected any. Specify a different type
|
main:
packages/react-paypal-js/src/components/PayPalButtons.tsx#L127
React Hook useEffect has a spread element in its dependency array. This means we can't statically verify whether you've passed the correct dependencies
|
main:
packages/react-paypal-js/src/context/scriptProviderContext.ts#L21
'_scriptId' is assigned a value but never used
|
main:
packages/react-paypal-js/src/index.ts#L21
There should be at least one empty line between import groups
|
main:
packages/react-paypal-js/src/index.ts#L22
`@paypal/sdk-constants/dist/module` import should occur before type import of `@paypal/paypal-js`
|
main:
packages/react-paypal-js/src/stories/payPalHostedFields/PayPalHostedFields.stories.tsx#L246
'amount' is defined but never used
|
main:
packages/react-paypal-js/src/types/scriptProviderTypes.ts#L8
Unexpected any. Specify a different type
|