2018-02-26 15:18:49 +08:00
|
|
|
# This file is for unifying the coding style for different editors and IDEs
|
|
|
|
# editorconfig.org
|
|
|
|
|
|
|
|
# top-most EditorConfig file
|
2016-09-09 14:29:19 +08:00
|
|
|
root = true
|
|
|
|
|
2018-02-26 15:18:49 +08:00
|
|
|
# every file
|
|
|
|
[*]
|
2016-09-09 14:29:19 +08:00
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
2018-02-26 15:18:49 +08:00
|
|
|
indent_size = 4
|
|
|
|
indent_style = space
|
2016-09-09 14:29:19 +08:00
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
2018-02-26 15:18:49 +08:00
|
|
|
|
|
|
|
# 4 space indentation
|
|
|
|
[*.py]
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
# Tab indentation (no size specified)
|
|
|
|
[Makefile]
|
|
|
|
indent_style = tab
|
|
|
|
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|