diff --git a/.editorconfig b/.editorconfig index b625cb8..503c45e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,9 +5,19 @@ root = true [*] charset = utf-8 end_of_line = lf +indent_style = tab +indent_size = 8 insert_final_newline = true trim_trailing_whitespace = true [*.go] -indent_style = tab indent_size = 4 + +[*.{json,yaml,yml,js,ts}] +indent_style = space +indent_size = 2 + +[*.md] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = false