From 07d706d825da891286279a513caf4af478d6c748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 6 Jan 2016 21:05:16 +0100 Subject: [PATCH] Add a .editorconfig --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1bb1df8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Indent JS with four spaces +[*.js] +indent_style = space +indent_size = 4 + +# Indent HTML with two spaces +[*.html] +indent_style = space +indent_size = 2