# https://editorconfig.org
# One formatting contract for every editor working on SHARP-ER.
root = true

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

# Markdown keeps trailing whitespace: two spaces are a hard line break.
[*.md]
trim_trailing_whitespace = false
max_line_length = off

# Makefiles are tab-indented by definition.
[Makefile]
indent_style = tab

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

[*.{json,jsonc}]
indent_size = 2

[*.sh]
indent_size = 2

# Lockfiles and generated files are written by tooling - leave them alone.
[{pnpm-lock.yaml,package-lock.json}]
insert_final_newline = unset
trim_trailing_whitespace = unset
