# EditorConfig is awesome: https://editorconfig.org
root = true

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

[*.py]
indent_size = 4
max_line_length = 100

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

[*.{md,markdown}]
indent_size = 2
trim_trailing_whitespace = false  # markdown uses trailing 2-space for line breaks

[*.{sh,bash}]
indent_size = 4
# Shell scripts use tabs for here-docs but spaces for code
indent_style = space

[*.ps1]
indent_size = 4

[Dockerfile*]
indent_size = 4

[Makefile]
indent_style = tab
