SVGO is a linter for SVG. You can enable the SVGO linter with:Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
SVGO will be auto-enabled if any SVG files are present.Settings
SVGO supports the following config files:svgo.config.jssvgo.config.mjssvgo.config.cjs
.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 site
- SVGO Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo