meta: .gitattributes

Summary:
Correct GitHub linguist language detections

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: deploy and wait for GitHub to update language syntax highlight.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D250
This commit is contained in:
revi 2024-06-11 18:52:22 +09:00
parent c98952d447
commit 94d38f2ab6
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

25
.gitattributes vendored Normal file
View file

@ -0,0 +1,25 @@
* text=auto
*.sh text=auto eol=lf
*.asc binary
*.gif binary
*.jpg binary
*.jpeg binary
*.mp3 binary
*.mp4 binary
*.png binary
*.webm binary
*.webp binary
*.woff2 binary
*.css diff=css
*.html diff=html
*.md diff=markdown
*.mdx diff=markdown
*.sh diff=bash
# GitHub Linguist detection
# https://github.com/github-linguist/linguist/blob/master/docs/overrides.md
.arclint linguist-language=json
.gitaliases linguist-language=gitconfig
.yamllint linguist-language=yaml