Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include linter rules and provide suggestions #7

Open
Angelmmiguel opened this issue Jun 6, 2017 · 0 comments
Open

Include linter rules and provide suggestions #7

Angelmmiguel opened this issue Jun 6, 2017 · 0 comments

Comments

@Angelmmiguel
Copy link
Owner

Angelmmiguel commented Jun 6, 2017

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

@Angelmmiguel Angelmmiguel changed the title Include linter rules in the project Include linter rules and provide suggestions Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant