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

quality/policy-enforced

fleetlint runs automatically

Severitywarning
Tiers1, 2
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.3.1
Selected byfleetlint-recommended@v0.3.1

Requirement

fleetlint check runs without anyone remembering to: as a git hook, in the task runner’s check target, or in a CI workflow.

Why

A policy that is only checked by hand drifts with the first busy week; the report is then a description of last month.

Check

text(".pre-commit-config.yaml").contains("fleetlint") || text("lefthook.yml").contains("fleetlint") || [taskrunner.file, "Makefile", "justfile", "Taskfile.yml", "package.json", "build.gradle", "build.gradle.kts"].exists(f, text(f).contains("fleetlint")) || workflows().exists(w, text(w).contains("fleetlint"))

Fix

Add fleetlint check --fail-on error to the check target, and the fleetlint hook to .pre-commit-config.yaml (see https://fleetlint.org/integrations/).

Agent instruction: Add fleetlint check --fail-on error as the last step of the task runner’s check target and a local fleetlint hook to .pre-commit-config.yaml; make sure CI installs fleetlint before it runs the check.

See: https://fleetlint.org/integrations/


Generated by fleetlint docs from catalog v0.3.1.