
Audit Your .gitignore Before It Ships
Catch the ignore rule that hides your own files. #Techniek
Audit a .gitignore file offline before it ships: catch invalid globs, duplicates, negations that never apply, over-broad patterns, directory names without a trailing slash, missing coverage for credential and junk files, and tracked files an ignore rule would hide. Deterministic pass/fail results plus JSON and Markdown reports. Reads pattern text only, never file contents. Features: eleven deterministic rules; gitignore matcher (*, ?, [...], **, anchors, dir-only, negations); tracked-path cross-check (git ls-files output); duplicate, negation-order and negation-coverage checks; missing credential-file and junk-file coverage checks; critical vs warning severities with CI-friendly exit codes; JSON and Markdown reports; no external dependencies. Requirements: Python 3.9+; a .gitignore file. License: MIT.
