mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-18 08:22:16 +00:00
Improve language/statistics settings and tidy ignore rules: .gitattributes now marks *.func as detectable, excludes ct/headers/* and markdown docs from language stats, classifies generated/config files (json/lock/yml) as linguist-generated, and enforces text=auto eol=lf. .gitignore was reorganized and simplified: .vscode is explicitly preserved (!.vscode/), obsolete debug/temp entries were removed, and overly broad ignores for compiled artifacts and Git metadata were dropped to avoid accidentally hiding repository files.
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# ---------------------------------------
|
|
# Treat Shell files as first-class code
|
|
# ---------------------------------------
|
|
*.sh linguist-detectable=true
|
|
*.bash linguist-language=Shell
|
|
*.func linguist-language=Shell
|
|
*.func linguist-detectable=true
|
|
*.install linguist-language=Shell
|
|
|
|
# ---------------------------------------
|
|
# Exclude header art from stats
|
|
# ---------------------------------------
|
|
ct/headers/* linguist-documentation
|
|
|
|
# ---------------------------------------
|
|
# Exclude documentation from stats
|
|
# ---------------------------------------
|
|
*.md linguist-documentation
|
|
README.md linguist-documentation
|
|
CONTRIBUTING.md linguist-documentation
|
|
SECURITY.md linguist-documentation
|
|
|
|
# ---------------------------------------
|
|
# Exclude generated/config files
|
|
# ---------------------------------------
|
|
.github/** linguist-generated
|
|
.vscode/** linguist-generated
|
|
|
|
# ---------------------------------------
|
|
# Standard text handling
|
|
# ---------------------------------------
|
|
* text=auto eol=lf
|