linguist language overrides & excludes in .gitattributes

[CI SKIP]
This commit is contained in:
Aminda Suomalainen 2023-02-17 14:14:27 +02:00
parent b2b6fa45d6
commit dd7ba669b2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 10 additions and 1 deletions

9
.gitattributes vendored
View File

@ -1,7 +1,7 @@
# Line normalisation, GitHub language detection
* text=auto linguist-detectable
# These don't feel like mine'
# These don't feel like mine
_config.yml/** text=auto -linguist-detectable
_data/** text=auto -linguist-detectable
_includes/** text=auto -linguist-detectable
@ -9,6 +9,13 @@ _layouts/** text=auto -linguist-detectable
_matrix/** text=auto -linguist-detectable
_sass/** text=auto -linguist-detectable
# Unnecessary for statistics
Gemfile text linguist-vendored
Gemfile.lock text linguist-generated
# Signature files misdetected as "Standard ML"
*.sig text -linguist-detectable
# LFS
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text

1
PGP/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.txt text linguist-language=Public-Key

1
blog/.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.xml text -linguist-detectable