diff --git a/.editorconfig b/.editorconfig index d433b6938..3a0b56850 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,12 +1,15 @@ root = true [*] -end_of_line = lf charset = utf-8 -trim_trailing_whitespace = false +end_of_line = lf +trim_trailing_whitespace = true insert_final_newline = true indent_style = tab +[*.md] +trim_trailing_whitespace = false + [*.py] indent_style = space indent_size = 4 @@ -14,3 +17,7 @@ indent_size = 4 [*.{json,yml,md}] indent_style = space indent_size = 2 + +[*.{jsx,tsx,svelte,vue}] +indent_style = space +indent_size = 2