# SPDX-License-Identifier: MPL-2.0

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

# Source code
*.rs text eol=lf diff=rust
*.ex text eol=lf diff=elixir
*.exs text eol=lf diff=elixir
*.ml text eol=lf diff=ocaml
*.mli text eol=lf diff=ocaml
*.res text eol=lf diff=javascript
*.resi text eol=lf diff=javascript
*.ts text eol=lf diff=typescript
*.js text eol=lf diff=javascript
*.idr text eol=lf
*.v text eol=lf
*.zig text eol=lf

# Configuration
*.toml text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.scm text eol=lf linguist-language=Scheme

# Documentation
*.md text eol=lf diff=markdown
*.adoc text eol=lf
*.txt text eol=lf

# Scripts
*.sh text eol=lf
*.bash text eol=lf

# Build artifacts (binary)
*.wasm binary
*.rlib binary
*.beam binary
*.so binary
*.dylib binary
*.dll binary
*.exe binary

# Lock files (generated)
Cargo.lock linguist-generated=true
package-lock.json linguist-generated=true
mix.lock linguist-generated=true
