Add .editorconfig file

Default to LF EOL, UTF-8 and space indent. 4 space indent for .py/.sh files.

See https://editorconfig.org/

based on https://github.com/Electron-Cash/Electron-Cash/commit/de392bb92c9aa8a3ab46a56334a90b8159d8fddc
This commit is contained in:
SomberNight
2022-08-10 17:32:23 +02:00
parent 07ee204c9c
commit bc8edd2928
+17
View File
@@ -0,0 +1,17 @@
# see https://EditorConfig.org
root = true
[*]
indent_style = space
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
[*.py]
indent_size = 4
insert_final_newline = true
[*.sh]
indent_size = 4
insert_final_newline = true