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

repo/gitignore-present

A .gitignore exists

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.5.0
Selected byfleetlint-minimal@v0.5.0

Requirement

The repository root has a .gitignore.

Why

Without one, build output and local files end up tracked.

Check

file(".gitignore")

Fix

Add a .gitignore for the stack (gitignore.io or the stack template).

Agent instruction: Create .gitignore with the standard patterns for the detected stacks and OS/editor files.

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

A finding of this rule points at .gitignore.

Sources


Generated by fleetlint docs from catalog v0.5.0.