# ADR-0002: pin LF line endings everywhere so generated artifacts are byte-identical across
# Windows (dev) and Linux (CI). Do not relax this; the emitters also write with newline="\n"
# and a test asserts emitted policy bytes contain no \r.
* text=auto eol=lf

# Explicit for the file types where byte-identity is asserted (policies, schemas, goldens).
*.py        text eol=lf
*.rego      text eol=lf
*.cedar     text eol=lf
*.cedarschema text eol=lf
*.json      text eol=lf
*.toml      text eol=lf
*.md        text eol=lf
*.yml       text eol=lf
*.yaml      text eol=lf

# Recorded OTLP-protobuf fixtures (T-1.4) are binary: never apply text/EOL normalization, which
# would corrupt the wire bytes. The `.json` companions stay LF text (asserted by their reader tests).
*.binpb     binary
