Problem/Motivation
Now as there is CI/CD integration (#3558185: Add CI/CD integration with phpcs, phpstan, linting and cspell), we need to fix the findings from pipeline jobs (see here https://git.drupalcode.org/project/highlight_js/-/pipelines/662388 for more details)
Issue fork highlight_js-3558194
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 #2
a.dmitriiev commentedComment #3
ritarshi_chakraborty commentedWorking on it.
Comment #5
ritarshi_chakraborty commentedHey @a.dmitriiev, we can disable eslint warnings by adding
/* eslint-disable */at the top of Js files. Do you want me to fix those warnings manually?Comment #6
a.dmitriiev commentedI think it would be nice to have them fixed instead of ignoring, thank you! Also it would be nice to have
.cspell-project-words.txtfile with all project words in them (you can take the words from the pipeline job output).Comment #7
norman.lolComment #8
ritarshi_chakraborty commentedI have resolved all the warnings and errors!
Comment #9
a.dmitriiev commented@ritarshi_chakraborty thank you for taking care of all the warnings! It is nice to see green pipelines! Looks good to me. I see some problems with the copy function when just clicking on code container, but it seems that it is not related to the changes on this MR.
It will be good if @norman.lol also can double check before merging.
Comment #10
norman.lolThank you! Looking good. Opening follow up for button behavior.