mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
Add `* text=auto eol=lf` so text files are checked in with LF regardless of the contributor's OS. Without this, Windows editors can save files with CRLF (and sometimes a UTF-8 BOM), which makes every line differ at the byte level on diff and trips GitHub's "Binary file not shown" heuristic — see #840 for an example where a ~30-line change was unreviewable for this reason. Existing LFS rules already carry `-text` and remain unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
# Normalize text files to LF on checkout and in the repo, regardless of the
|
|
# contributor's OS. Without this, files saved on Windows can land in PRs with
|
|
# CRLF endings or a UTF-8 BOM, which makes every line differ at the byte level
|
|
# and trips GitHub's "Binary file not shown" diff heuristic.
|
|
* text=auto eol=lf
|
|
|
|
# Golden baseline videos for regression tests
|
|
packages/producer/tests/*/output/output.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
# Source video clips for regression test fixtures (HDR samples, etc.)
|
|
packages/producer/tests/*/src/*.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
# Source image assets for regression test fixtures (HDR PNGs, screenshot fixtures, etc.)
|
|
packages/producer/tests/*/src/*.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
# GitHub Linguist overrides — HTML files are compositions (user content / templates),
|
|
# not the framework source. Hide them from the repo language stats so TypeScript,
|
|
# which is the actual implementation, surfaces as the dominant language.
|
|
registry/**/*.html linguist-vendored
|
|
*.html linguist-detectable=false
|