From 11f5c4a4f7a7edc38bc07dc0aba83ae40eb1902a Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@cnes.fr> Date: Fri, 18 May 2018 14:30:26 +0200 Subject: [PATCH] ENH: add an editorconfig file for IDE code formatting --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..7b95893b5c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Apply to all code files +[*] +# A newline ending every file +insert_final_newline = true + +# Set default charset +charset = utf-8 + +# 4 space indentation +indent_style = space +indent_size = 2 + +# Various options +trim_trailing_whitespace = true -- GitLab