# Git Attributes Configuration for LibrAgent
# This file ensures consistent line endings across all platforms (Windows, Linux, macOS)
# See: https://git-scm.com/docs/gitattributes
# Auto detect text files and normalize line endings to LF in the repository
* text=auto eol=lf
# Explicitly mark text files and enforce LF
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
*.json text eol=lf
*.md text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.html text eol=lf
*.sh text eol=lf
*.bash text eol=lf
*.rs text eol=lf
*.toml text eol=lf
*.lock text eol=lf
*.xml text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*.env text eol=lf
*.example text eol=lf
# Configuration files
.gitignore text eol=lf
.gitattributes text eol=lf
.editorconfig text eol=lf
.prettierrc text eol=lf
.eslintrc text eol=lf
Cargo.toml text eol=lf
Cargo.lock text eol=lf
package.json text eol=lf
pnpm-lock.yaml text eol=lf
tsconfig.json text eol=lf
# Binary files (do not convert line endings)
*.png binary
*.jpg binary
*.jpeg binary
*.gif filter=lfs diff=lfs merge=lfs -text
*.ico binary
*.icns binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.otf binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary
*.wasm binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
# Shell scripts must have LF even on Windows
*.sh text eol=lf
*.bash text eol=lf
# Batch scripts can have CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
