Merge pull request 'Add .editorconfig file to enforce codestyle in compatible editors' (#3091) from editorconfig into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3091
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
This commit is contained in:
ancientmarinerdev 2022-12-15 22:59:08 +00:00
commit 4ba3af5c73

12
.editorconfig Normal file

@ -0,0 +1,12 @@
root = true
[*]
end_of_line = lf
[*.lua]
charset = utf8
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
keep_one_space_between_table_and_bracket = false
spaces_around_operators = true