fleetlint Policy for a fleet of repositories
v0.10
Getting started

deps/license-check/hugo

Dependency licenses are checked against an allowlist

Implements deps/license-check for hugo.

Severityinfo
Tiers1
Stackshugo
Scopeeach
Kindexpr
Sourcelibrary v0.7.0
Selected byfleetlint-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

false

Check

true

Fix

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


Generated by fleetlint docs from catalog v0.7.0.