Stirling-PDF
Stirling-PDF copied to clipboard
Format html
Format HTML:
find . -name '*.html' | while read -r file; do js-beautify -rn -f "${file}"; done
Remove trailing whitespaces:
find . -name '*.html' | while read -r file; do sed -i 's/[ \t]*$//' "${file}"; done
License Agreement for Contributions
By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under MPL 2.0 (Mozilla Public License Version 2.0) license.
(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)
A CI-integrated linter + editorconfig would be the solution.
Closing PR due to difficulty to review but will add this as a task for us to automate on the HTML side