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 Linter Configs for more info. Trunk check provides a default svgo.config.js
if your project does not already have one.
Links
SVGO Trunk Check integration source
Trunk Check's open source plugins repo
Last updated