Skip to content

(fix) proxy function props to prevent stale state in callbacks #192

(fix) proxy function props to prevent stale state in callbacks

(fix) proxy function props to prevent stale state in callbacks #192

Triggered via pull request January 15, 2025 21:37
Status Success
Total duration 1m 53s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
main
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
main: packages/react-paypal-js/src/components/PayPalButtons.tsx#L9
There should be at least one empty line between import groups
main: packages/react-paypal-js/src/components/PayPalButtons.tsx#L10
`../hooks/useProxyProps` import should occur before type import of `react`
main: packages/react-paypal-js/src/context/scriptProviderContext.ts#L21
'_scriptId' is assigned a value but never used
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L6
There should be at least one empty line between import groups
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L29
Forbidden non-null assertion
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L34
Forbidden non-null assertion
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/components/CopyButton.tsx#L4
There should be no empty line within import group
main: packages/react-paypal-js/src/components/PayPalButtons.tsx#L9
There should be at least one empty line between import groups
main: packages/react-paypal-js/src/components/PayPalButtons.tsx#L10
`../hooks/useProxyProps` import should occur before type import of `react`
main: packages/react-paypal-js/src/context/scriptProviderContext.ts#L21
'_scriptId' is assigned a value but never used
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L6
There should be at least one empty line between import groups
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L29
Forbidden non-null assertion
main: packages/react-paypal-js/src/hooks/useProxyProps.test.ts#L34
Forbidden non-null assertion
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/components/CopyButton.tsx#L4
There should be no empty line within import group