FILE: /home/drupal/d9-open/scroll_top_button/js/scroll.top.button.js
------------------------------------------------------------------------------------------------
FOUND 12 ERRORS AFFECTING 12 LINES
------------------------------------------------------------------------------------------------
5 | ERROR | [x] Whitespace found at end of line
12 | ERROR | [x] Functions must not contain multiple empty lines in a row; found 2 empty lines
13 | ERROR | [x] Whitespace found at end of line
16 | ERROR | [x] Whitespace found at end of line
25 | ERROR | [x] Whitespace found at end of line
31 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
39 | ERROR | [x] Whitespace found at end of line
50 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "TRUE" but found "true"
55 | ERROR | [x] TRUE, FALSE and NULL must be uppercase; expected "FALSE" but found "false"
66 | ERROR | [x] Whitespace found at end of line
69 | ERROR | [x] Whitespace found at end of line
70 | ERROR | [x] Expected 1 newline at end of file; 0 found
------------------------------------------------------------------------------------------------| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpcs-coding-standard-issue-3312292-1.patch | 2.24 KB | dharti patel |
Comments
Comment #2
dharti patel commentedHello,
I have created a patch to fix this issue.
Kindly review the patch.
Thanks
Comment #3
Arturo-q commented@Dharti Patel thanks for your patch, I will review it.
Comment #4
Arturo-q commentedHey, I've applied the patch #1, and it fixes all the CS errors/warnings on the JS file.
Moving to RTBC.
Comment #7
hemant bansal commentedThank you all for your contribution!
Comment #8
hemant bansal commented