From 16daefd609f921bcf18eeac80eed5378f6792c1b Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sat, 23 Sep 2017 17:06:56 +0200 Subject: [PATCH 1/2] Add .editorconfig For editors that don't autodetect indent style and size --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..4bb7b1e1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +insert_final_newline = true +indent_style = space +indent_size = 2 +charset = utf-8 + +[Makefile] +indent_style = tab +indent_size = 2 From ad4baf87cf32e3f9ca55683d1d1ad7ec45e2cae3 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sun, 24 Sep 2017 08:31:42 +0200 Subject: [PATCH 2/2] Add trim_trailing_whitespace to .editorconfig --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 4bb7b1e1..57c08e6e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,6 +2,7 @@ root = true [*] insert_final_newline = true +trim_trailing_whitespace = true indent_style = space indent_size = 2 charset = utf-8