Add an editorconfig to standardise styles across projects
See https://editorconfig.org/
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
# http://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Use 4 spaces the Python files
|
||||||
|
[*.py]
|
||||||
|
indent_size = 4
|
||||||
Reference in New Issue
Block a user