Fix: Project is using 4 spaces but editor config is wrong when user env is 2 spaces.

This commit is contained in:
Graham Fairweather 2018-02-26 08:18:49 +01:00
parent 899ad697b0
commit 0f8e808944

View file

@ -1,8 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
# top-most EditorConfig file
root = true root = true
# every file
[*]
charset = utf-8 charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
# 4 space indentation
[*.py]
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
[*.md]
trim_trailing_whitespace = false