From 83571b4bef9b4b669385a9f4834ddbc495eaf648 Mon Sep 17 00:00:00 2001 From: Willyb321 Date: Thu, 22 Mar 2018 12:07:19 +1100 Subject: [PATCH] add .editorconfig Makes contributing and not messing up the codestyle easier --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2d63240c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + + +[*] + +# change these settings to your own preference +indent_style = space +indent_size = 4 + +# we recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[{package,bower}.json] +indent_style = space +indent_size = 2