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

hooks/config-present

Git hooks are configured

Severityerror
Tiers1, 2
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-minimal@0.1.0

Requirement

The repository declares pre-commit hooks that run on every commit.

Why

Hooks are the only gate that runs before code reaches the remote; everything else is after the fact.

Check

file(".pre-commit-config.yaml") || file("lefthook.yml") || file(".lefthook.yml")

Fix

Run fleetlint fix --apply to add .pre-commit-config.yaml for the stack, then prek install.

Agent instruction: Create .pre-commit-config.yaml from the shared template plus the stack block, run prek update and prek install.

fleetlint fix can apply this rule’s fix automatically (1 action(s)).

See: https://fleetlint.org/baseline/#git-hooks


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.