Commit 0f8e808944335cd21ba4c89e2da119f117b51344
1 parent
899ad697
Fix: Project is using 4 spaces but editor config is wrong when user env is 2 spaces.
Showing
1 changed file
with
19 additions
and
2 deletions
Show diff stats
.editorconfig
1 | +# This file is for unifying the coding style for different editors and IDEs | |
2 | +# editorconfig.org | |
3 | + | |
4 | +# top-most EditorConfig file | |
1 | 5 | root = true |
2 | 6 | |
7 | +# every file | |
8 | +[*] | |
3 | 9 | charset = utf-8 |
4 | -indent_style = space | |
5 | -indent_size = 4 | |
6 | 10 | end_of_line = lf |
11 | +indent_size = 4 | |
12 | +indent_style = space | |
7 | 13 | insert_final_newline = true |
8 | 14 | trim_trailing_whitespace = true |
15 | + | |
16 | +# 4 space indentation | |
17 | +[*.py] | |
18 | +indent_size = 4 | |
19 | + | |
20 | +# Tab indentation (no size specified) | |
21 | +[Makefile] | |
22 | +indent_style = tab | |
23 | + | |
24 | +[*.md] | |
25 | +trim_trailing_whitespace = false | ... | ... |