# .editorconfig: Editor settings, see <https://editorconfig.org>.

# top-most EditorConfig file
root = true

# Defaults for all file types:

[*]
# Use UTF-8 encoding.
charset = utf-8
# Unix-style newlines.
end_of_line = lf
# Files should end with a newline.
insert_final_newline = true
# Remove whitespace characters preceding newline characters.
trim_trailing_whitespace = true

# File type specific settings follow:

[{bin/*,libexec/*,Makefile*,*.cfg,*.conf,*.ini,*.sh}{,.j2}]
# Tab indentation (8 characters wide).
indent_style = tab
indent_size = 8

[*.{json,md}{,.j2}]
# 4 space indentation.
indent_style = space
indent_size = 4

[*.{toml,yaml,yml}{,.j2}]
# 2 space indentation.
indent_style = space
indent_size = 2
