root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[*.{json,jsonl,toml,yml,yaml,md}]
indent_size = 2

# Calibration-corpus fixtures are compared byte-for-byte and their whitespace is part of
# the case. A helpful editor trimming a trailing space here surfaces much later as a
# baffling composition-drift failure.
[tests/corpus/**]
trim_trailing_whitespace = false
insert_final_newline = false
