Add an .editorconfig file (#632)

Could help to maintain consistent coding styles

What is .editorconfig:
http://editorconfig.org/#overview

Plugins for IDEs to support:
http://editorconfig.org/#download
This commit is contained in:
Arkady Shapkin 2019-06-18 22:07:00 +03:00 committed by P. J. Reed
parent 40f5b6e224
commit 296bad3866

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
# Use 4 spaces for the Python files
[*.py]
indent_size = 4
[*.md]
trim_trailing_whitespace = false