Skip to content

Improve PayPal front end error messages #15775

Improve PayPal front end error messages

Improve PayPal front end error messages #15775

Triggered via pull request June 23, 2026 13:54
Status Failure
Total duration 2m 2s
Artifacts

jscs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
Run ESLint
Process completed with exit code 1.
Run ESLint: paypal/js/frontend.js#L1608
Unnecessarily quoted property 'INVALID_EXPIRY' found
Run ESLint: paypal/js/frontend.js#L1607
Unnecessarily quoted property 'INVALID_CARD_NUMBER' found
Run ESLint: paypal/js/frontend.js#L1606
Unnecessarily quoted property 'INVALID_CVV' found
Run ESLint
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run ESLint: js/admin/embed.js#L325
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows
Run ESLint: js/admin/embed.js#L316
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows
Run ESLint: js/admin/dom.js#L864
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows
Run ESLint: js/admin/dom.js#L749
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows
Run ESLint: js/admin/dom.js#L747
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows
Run ESLint: js/admin/dom.js#L509
Use array destructuring
Run ESLint: js/admin/dom.js#L443
Use object destructuring
Run ESLint: js/admin/dom.js#L64
querySelector with selector "querySelector:.postbox" is called 2 times. Cache the result in a variable
Run ESLint: js/admin/dom.js#L9
Use object destructuring
Run ESLint: js/admin/applications.js#L147
Avoid calling appendChild in a loop. Use DocumentFragment to batch DOM operations and prevent multiple reflows