mirror of
https://github.com/zadam/trilium.git
synced 2026-09-12 19:50:20 +05:00
binary.spec.ts rendered as a binary file on GitHub because a stray NUL byte in a test string (pre-existing on main) tripped Git's binary auto-detection, hiding the real text diff. Mark *.ts / *.tsx with the `diff` attribute so they are always diffed as text, even when a stray control byte sneaks in. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
852 B
Plaintext
27 lines
852 B
Plaintext
# Mark files as auto-generated to simplify reviews.
|
|
package-lock.json linguist-generated=true
|
|
**/package-lock.json linguist-generated=true
|
|
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/** linguist-generated
|
|
|
|
# Ignore from GitHub language stats.
|
|
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/**/*.html eol=lf
|
|
apps/server/src/assets/doc_notes/** linguist-vendored=true
|
|
apps/edit-docs/demo/** linguist-vendored=true
|
|
docs/** linguist-vendored=true
|
|
|
|
# Normalize line endings.
|
|
docs/**/*.md eol=lf
|
|
docs/**/*.json eol=lf
|
|
demo/**/*.html eol=lf
|
|
demo/**/*.json eol=lf
|
|
demo/**/*.svg eol=lf
|
|
demo/**/*.txt eol=lf
|
|
demo/**/*.js eol=lf
|
|
demo/**/*.css eol=lf
|
|
*.sh eol=lf
|
|
|
|
# Always diff TypeScript sources as text so a stray control byte (e.g. a NUL in
|
|
# a string literal) doesn't make Git/GitHub treat the whole file as binary.
|
|
*.ts diff
|
|
*.tsx diff
|