0.1.0 • Published 5 years ago

eslint-plugin-svgo v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

SVGO for JSX

This eslint plugin adds single eslint rule svgo/svgo. It flags every occurence of <svg> which was not optimized by SVGO. Also has autofix so that if you have that turned on you can just copy-paste your svg into your editor.

Installing

npm i -D eslint-plugin-svgo

Then add svgo to plugins section in your eslint config and "svgo/svgo": "warn" to rules section of that config.

0.1.0

5 years ago

0.0.1

5 years ago