deps/license-check/hugo
Dependency licenses are checked against an allowlist
Implements deps/license-check for hugo.
| Severity | info |
| Tiers | 1 |
| Stacks | hugo |
| Scope | each |
| Kind | expr |
| Source | library v0.7.0 |
| Selected by | fleetlint-recommended@v0.7.0 |
Requirement
A Hugo site has no dependency manager of its own: Hugo modules live in go.mod and npm tooling in package.json, and both are checked as their own stacks.
Why
A dependency under an incompatible license is found cheaply before it is merged and expensively after a release.
Applies when
falseCheck
trueFix
Add the stack’s license checker with an allowlist to the audit target (see https://fleetlint.org/stacks/).
Agent instruction: Add the stack’s license checker to the audit target with an allowlist compatible with the repository’s own license; report dependencies outside it instead of widening the list.
Sources
- https://openchainproject.org/ (standard)
- https://fleetlint.org/baseline/#dependencies (convention)
- https://fleetlint.org/stacks/#hugo–static-sites (convention)
Generated by fleetlint docs from catalog v0.7.0.