# Auto-detect text files and normalise line endings.
* text=auto eol=lf

# Documents
*.md text eol=lf diff=markdown
*.mdx text eol=lf diff=markdown
*.txt text eol=lf

# Web
*.html text eol=lf diff=html
*.css text eol=lf diff=css
*.js text eol=lf
*.mjs text eol=lf
*.json text eol=lf
*.svg text eol=lf
*.xml text eol=lf

# Configuration and data
*.yaml text eol=lf
*.yml text eol=lf
*.toml text eol=lf
*.tf text eol=lf
*.tfvars text eol=lf
*.hcl text eol=lf
Dockerfile text eol=lf
Makefile text eol=lf
*.mk text eol=lf
*.sh text eol=lf
.env.example text eol=lf
.editorconfig text eol=lf

# Generated / binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.eot binary
*.ttf binary
*.pdf binary
*.zip binary
*.tar binary
*.gz binary
*.sig binary
*.pem binary

# Lock files — generated, treat as vendored
package-lock.json -diff linguist-generated=true
