Problem/Motivation
We recently added the gitlab CI pipeline for code checking.
The code does not pass all the tests.
Steps to reproduce
Check the recent gitlab pipeline run, for the failed tests.
Proposed resolution
Fix all the code styling warning.
Remaining Tasks
Need to fix the final couple of suggestions from eslint.
/builds/issue/cookie_consent_notice-3458113/web/modules/custom/cookie_consent_notice-3458113/js/cookie_consent_notice.js
97:29 error Script URL is a form of eval no-script-url
115:17 error Prefer getComputedStyle to $.css jquery/no-css
Issue fork cookie_consent_notice-3458113
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
nexusnovaz commentedMarking this as needs work. MR !2 should fix most issues, just a couple more for javascript which i am less knowledgeable on. Will leave for someone else to pick up! Updated the issue summary to reflect remaining task.
Comment #6
psebborn commentedComment #7
psebborn commentedFixed the ESLint issues in the open MR now. https://git.drupalcode.org/project/cookie_consent_notice/-/merge_requests/2
Ready for review.
Comment #8
psebborn commentedComment #9
arantxioAll tests seem to pass and I see no unnecessary changes to the code.
Comment #12
roaldnel commentedComment #13
roaldnel commented