# Set default behavior to automatically normalize line endings
* text=auto

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# PHP files should use LF endings
*.php text eol=lf

# Laravel specific files
*.blade.php text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf

# Web files
*.html text eol=lf
*.css text eol=lf
*.js text eol=lf
*.scss text eol=lf
*.sass text eol=lf
*.less text eol=lf

# Database files
*.sql text eol=lf

# Config files
*.ini text eol=lf
*.conf text eol=lf
*.config text eol=lf
*.env text eol=lf
*.example text eol=lf

# Markdown files
*.md text eol=lf
*.markdown text eol=lf

# Lock files should maintain their original line endings
composer.lock text eol=lf
package-lock.json text eol=lf
yarn.lock text eol=lf

# Binary files should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg binary
*.eot binary
*.ttf binary
*.woff binary
*.woff2 binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.rar binary
*.7z binary

# Fonts
*.otf binary
*.fon binary

# Archives
*.jar binary
*.war binary
*.ear binary

# Videos
*.mp4 binary
*.avi binary
*.mov binary
*.wmv binary
*.flv binary

# Audio
*.mp3 binary
*.wav binary
*.flac binary
*.aac binary

# Documents
*.doc binary
*.docx binary
*.xls binary
*.xlsx binary
*.ppt binary
*.pptx binary
