Files
Claude 927b0bb7d7 Add .gitattributes to mark lockfiles as generated
Committed lockfiles (package-lock.json, uv.lock, pnpm-lock.yaml, and
others) are kept for reproducible installs but flagged linguist-generated
so GitHub collapses them in diffs and excludes them from language stats.
This keeps PRs that ship lockfiles small and reviewable without dropping
reproducibility.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0174eaH6iN7hAo2BGWKXjd3S
2026-08-09 08:51:33 +00:00

10 lines
465 B
Plaintext

# Lockfiles are machine-generated. Keep them committed for reproducible installs,
# but mark them as generated so GitHub collapses them in diffs and excludes them
# from repository language statistics. Patterns without a slash match at any depth.
package-lock.json linguist-generated=true
yarn.lock linguist-generated=true
pnpm-lock.yaml linguist-generated=true
uv.lock linguist-generated=true
poetry.lock linguist-generated=true
Cargo.lock linguist-generated=true