chore: add .gitattributes to enforce LF line endings

This commit is contained in:
2026-09-19 13:15:59 +03:30
parent 43df200eeb
commit e40af20331
7 changed files with 29 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
# Auto-detect text files and normalize line endings to LF (POSIX standard)
* text=auto eol=lf
# Explicitly ensure code and configuration files use LF
*.py text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.md text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.txt text eol=lf
.env.example text eol=lf
.gitignore text eol=lf
.gitattributes text eol=lf
# Binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.tar.gz binary