Add .editorconfig for consistent formatting

This commit is contained in:
June 2023-10-27 00:00:19 +02:00 committed by jtbx
parent 90c1595f7d
commit a9367686f7

27
.editorconfig Normal file
View file

@ -0,0 +1,27 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
charset = utf-8
[*.html]
indent_size = 2
trim_trailing_whitespace = true
[*.scss]
indent_size = 2
trim_trailing_whitespace = true
[*.{js,json}]
indent_size = 2
trim_trailing_whitespace = true
[*.md]
indent_size = 2
trim_trailing_whitespace = false
[*.toml]
indent_size = 2
trim_trailing_whitespace = false