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

format/configured/hugo

A formatter is configured

Implements format/configured for hugo.

Severitywarning
Tiers1, 2
Stackshugo
Scopeeach
Kindexpr
Sourcelibrary v0.1.0
Selected byfleetlint-recommended@v0.1.0

Requirement

Hugo has no formatter for content and templates; the Markdown and the code of other stacks in the site are formatted by their own tools.

Why

Without one formatter every editor reformats differently and diffs fill with whitespace churn that hides the real change.

Applies when

false

Check

true

Fix

Add the stack’s formatter to the hooks and the fmt target (see https://fleetlint.org/stacks/).

Agent instruction: Add the stack’s formatter to the pre-commit hooks and the fmt target; reformat the code base in a separate commit.

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


Generated by fleetlint docs from catalog v0.1.0.