# https://editorconfig.org
root = true

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

[*.rs]
# rustfmt's default width.
max_line_length = 100

[*.md]
max_line_length = 120

[*.py]
# ruff.toml
max_line_length = 120

[*.sh]
# shfmt -i 2 -ci (make shell).
indent_size = 2
max_line_length = 120

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

[*.ftl]
# Fluent: continuation lines are indented with 4 spaces.
max_line_length = off

[Makefile]
indent_style = tab
