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

deps/unused-check/hugo

Unused dependencies are detected

Implements deps/unused-check for hugo.

Severityinfo
Tiers1
Stackshugo
Scopeeach
Kindexpr
Sourcelibrary v0.2.0
Selected byfleetlint-recommended@v0.2.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

Every declared dependency is attack surface and update churn; one nothing uses is pure cost.

Applies when

false

Check

true

Fix

Add the stack’s unused-dependency check to the audit target (see https://fleetlint.org/stacks/).

Agent instruction: Add the stack’s unused-dependency checker to the audit target; remove the dependencies it reports in a separate change after confirming nothing loads them dynamically.

See: https://fleetlint.org/baseline/#dependencies, https://fleetlint.org/stacks/#hugo--static-sites


Generated by fleetlint docs from catalog v0.2.0.