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

repo/gitattributes

.gitattributes normalizes line endings

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.3.1
Selected byfleetlint-recommended@v0.3.1

Requirement

.gitattributes sets * text=auto eol=lf and marks binaries.

Why

Prevents CRLF/LF diffs and corrupted binaries across operating systems.

Check

file(".gitattributes") && text(".gitattributes").contains("text=auto")

Fix

Add .gitattributes with * text=auto eol=lf; fleetlint fix --apply writes the template.

Agent instruction: Create .gitattributes with * text=auto eol=lf and binary for image, font, archive and media extensions.

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

See: https://fleetlint.org/baseline/#hygiene


Generated by fleetlint docs from catalog v0.3.1.