add .editorconfig

This commit is contained in:
Max Pozdeev 2020-10-14 21:13:47 +03:00
parent 1e4aedb5c7
commit fddfb9e1cf

20
.editorconfig Normal file
View file

@ -0,0 +1,20 @@
# top-most EditorConfig file
root = true
# 'insert_final_newline = false' should not remove last empty line
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
trim_trailing_whitespace = true
insert_final_newline = true
[*.php]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
[/version.txt]
insert_final_newline = false