Fix line endings and some cleanup

This commit is contained in:
Roboboffin
2025-10-23 04:00:21 +01:00
parent 24eb354ace
commit 3ac2cc15b1
66 changed files with 3029 additions and 0 deletions

39
.gitattributes vendored Normal file
View File

@@ -0,0 +1,39 @@
# Auto-detect text files and normalize to LF in the repo
* text=auto
# Explicit text rules
*.md text
*.txt text
*.json text
*.yml text
*.yaml text
*.toml text
*.c text
*.cpp text
*.h text
*.hpp text
*.rs text
*.py text
*.go text
*.js text
*.ts text
*.css text
*.html text
*.sh text eol=lf # scripts on Unix must be LF
*.bash text eol=lf
# Windows-native scripts that should remain CRLF in working trees
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Binary (never touch line endings)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.pdf binary
*.zip binary
*.exe binary
*.dll binary
*.glb binary