diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e5a963fa --- /dev/null +++ b/.editorconfig @@ -0,0 +1,26 @@ +root = true + +[*] +indent_style = tab +indent_size = tab +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# Ensure text editors don't turn leading spaces into tabs, +# e.g. in multi-line bullet list items +[*.md] +indent_style = space +indent_size = 2 + +# Tabs may not be valid YAML +# @see https://yaml.org/spec/1.2/spec.html#id2777534 +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +[.git/**] +indent_style = space +indent_size = 2 \ No newline at end of file