repo/gitignore-present
A .gitignore exists
| Severity | warning |
| Tiers | all |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.7.0 |
| Selected by | fleetlint-minimal@v0.7.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
- https://git-scm.com/docs/gitignore (spec)
- https://docs.github.com/en/get-started/git-basics/ignoring-files (guidance)
- https://fleetlint.org/baseline/#hygiene
Generated by fleetlint docs from catalog v0.7.0.