From 3971c362508fdf4e9a692b38fa60a4aefec6a0e1 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sun, 22 May 2016 12:30:44 +0200 Subject: [PATCH] add .editorconfig (#25) --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f0abb4f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true +charset = utf-8 + +# Get rid of whitespace to avoid diffs with a bunch of EOL changes +trim_trailing_whitespace = true + +[*] +end_of_line = lf +insert_final_newline = true + +[*.{js,html,scss,json}] +indent_size = 2 +indent_style = space