# Auto detect text files and perform LF normalization
* text=auto

# Source code files
*.php text eol=lf
*.js text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.xml text eol=lf
*.md text eol=lf
*.txt text eol=lf

# Config files
.gitignore text eol=lf
.gitattributes text eol=lf
composer.json text eol=lf
composer.lock text eol=lf
*.config.js text eol=lf

# Test files
tests/** text eol=lf

# Exclude from archives
/.github/ export-ignore
/.wp-env.json export-ignore
/tests/ export-ignore
/phpunit.xml export-ignore
/playwright.config.js export-ignore
/pint.json export-ignore
/scoper.inc.php export-ignore
/DEVELOPMENT_PLAN.md export-ignore
/coverage/ export-ignore
/.phpunit.cache/ export-ignore
/test-results/ export-ignore

# Binary files
*.svg binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary