copy gitattributes from VE repo
This commit is contained in:
parent
c5786b9210
commit
aad0e417f5
42
.gitattributes
vendored
42
.gitattributes
vendored
@ -1,4 +1,38 @@
|
|||||||
# Enforce LF for shell-related files only
|
# ---------------------------------------
|
||||||
*.sh text eol=lf
|
# Treat Shell files as first-class code
|
||||||
*.func text eol=lf
|
# ---------------------------------------
|
||||||
*.md text eol=lf
|
*.sh linguist-detectable=true
|
||||||
|
*.bash linguist-language=Shell
|
||||||
|
*.func linguist-language=Shell
|
||||||
|
*.install linguist-language=Shell
|
||||||
|
|
||||||
|
# ---------------------------------------
|
||||||
|
# Treat Golang files as Go (for /api/)
|
||||||
|
api/**/*.go linguist-language=Go
|
||||||
|
|
||||||
|
# ---------------------------------------
|
||||||
|
# Treat frontend as JavaScript/TypeScript (optional)
|
||||||
|
frontend/**/*.ts linguist-language=TypeScript
|
||||||
|
frontend/**/*.js linguist-language=JavaScript
|
||||||
|
|
||||||
|
# ---------------------------------------
|
||||||
|
# Exclude documentation from stats
|
||||||
|
*.md linguist-documentation
|
||||||
|
docs/** linguist-documentation
|
||||||
|
README.md linguist-documentation
|
||||||
|
CONTRIBUTING.md linguist-documentation
|
||||||
|
SECURITY.md linguist-documentation
|
||||||
|
|
||||||
|
# ---------------------------------------
|
||||||
|
# Exclude generated/config files
|
||||||
|
*.json linguist-generated
|
||||||
|
frontend/public/json/*.json linguist-generated=false
|
||||||
|
*.lock linguist-generated
|
||||||
|
*.yml linguist-generated
|
||||||
|
*.yaml linguist-generated
|
||||||
|
.github/** linguist-generated
|
||||||
|
.vscode/** linguist-generated
|
||||||
|
|
||||||
|
# ---------------------------------------
|
||||||
|
# Standard text handling
|
||||||
|
* text=auto eol=lf
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user