Enable trim_trailing_whitespace in .editorconfig and add exceptions for more file types

This commit is contained in:
Kijin Sung 2023-01-17 14:42:47 +09:00
parent 651238916b
commit 3b0030e82b

View file

@ -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