fleetlint Policy for a fleet of repositories
v0.11 (latest)
Getting started

format/configured

A formatter is configured

A capability: each stack checks it with its own tools, and every implementation that runs must pass. Implemented for cpp, dotnet, flutter, go, hugo, java, kotlin, node, php, python, ruby, rust.

Severitywarning
Tiers1, 2
Stacksany
Scopeeach
Kindcapability
Sourcelibrary v0.8.0
Selected byfleetlint-recommended@v0.8.0

Requirement

Every stack has a formatter, configured in the repository or run by a hook, the task runner or CI, so formatting is never a review topic.

Why

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

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.

Sources


Generated by fleetlint docs from catalog v0.8.0.