svgi
svgi copied to clipboard
Include linter rules and provide suggestions
It would be useful to provide some suggestions to improve the given SVG file as part of the output. --lint will activate these suggestions.
Rules
A rule represents a test to the SVG file. These rules must follow the good practices of SVG files.
- Use generic font families or rasterize the glyphs
- Calculate the minimum viewBox
- Compress the SVG
- Reduce unreasonable precision (10.000000001)
- Check the close tag of the SVG file #18
Please, add your ideas to this issue or the Hacker News Thread