From bc8edd292804ed72426b4c1a327ece3767f33a0a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 10 Aug 2022 17:32:23 +0200 Subject: [PATCH] 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 --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..fc3abadc1 --- /dev/null +++ b/.editorconfig @@ -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