SVGO
SVGO is a linter for SVG.
You can enable the SVGO linter with:
Auto Enabling
SVGO will be auto-enabled if any Svg files are present.
Settings
SVGO supports the following config files:
svgo.config.js
svgo.config.mjs
svgo.config.cjs
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info. Trunk Code Quality provides a default svgo.config.js
if your project does not already have one.
Links
SVGO Trunk Code Quality integration source
Trunk Code Quality's open source plugins repo
Last updated