From bbf66eabffef8ada26e11d0d3d2d08ada01a4308 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Fri, 28 Feb 2020 14:03:53 +0100 Subject: [PATCH] Add editorconfig --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..632505c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space + +# Get rid of whitespace to avoid diffs with a bunch of EOL changes +trim_trailing_whitespace = true + +[*.{html,json}] +indent_size = 2 + +[*.{js,css}] +indent_size = 4