twofactorauth icon indicating copy to clipboard operation
twofactorauth copied to clipboard

SVG Lint test

Open Carlgo11 opened this issue 3 years ago • 0 comments
trafficstars

I've developed a SVG lint test to check for syntax errors and minification possibilities but would like feedback on if it's something that would be desirable to use or not.

While keeping in mind the barrier to entry for new contributors I wanted some way of automate testing of SVG files and provide feedback on ways to enhance the files. I've therefore designed the script to fail on errors which would cause the graphic not to be displayed properly on the website whilst providing messages (warnings) on things which could hint at the file not being very optimized. My idea is for the errors to have to be fixed before a PR can be merged but any warnings to be treated as debug/info messages for the PR author and maintainers.

Carlgo11 avatar Feb 15 '22 19:02 Carlgo11