diff --git a/.editorconfig b/.editorconfig index 91b4094..37fc155 100644 --- a/.editorconfig +++ b/.editorconfig @@ -26,5 +26,10 @@ trim_trailing_whitespace = true insert_final_newline = false trim_trailing_whitespace = false +[*.{yml,yaml}] +# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces +indent_style = space +indent_size = 2 + [*.bat] end_of_line = crlf \ No newline at end of file diff --git a/src/dotfiles/.editorconfig b/src/dotfiles/.editorconfig index f8e14d7..aff6874 100644 --- a/src/dotfiles/.editorconfig +++ b/src/dotfiles/.editorconfig @@ -23,5 +23,10 @@ trim_trailing_whitespace = true insert_final_newline = false trim_trailing_whitespace = false +[*.{yml,yaml}] +# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces +indent_style = space +indent_size = 2 + [*.bat] end_of_line = crlf \ No newline at end of file