Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ package.json text eol=lf
**/package.json text eol=lf
lerna.json text eol=lf

# package-lock.json needs its own rule: the globs above match package.json
# only, never package-lock.json. npm rewrites a lockfile wholesale on every
# resolution, so a CRLF-stored lockfile regenerated on Linux comes back as LF
# and turns a handful of changed entries into a whole-file diff β€” which both
# hides the real change from review and trips gate-line-endings.
package-lock.json text eol=lf
**/package-lock.json text eol=lf

# Same pre-existing-CRLF-before-gate-line-endings-existed story as CLAUDE.md
# above: these files were already stored as CRLF and tripped the gate the
# first time a PR touched them. Pin them to LF so it doesn't recur.
Expand Down
Loading