From 5fb6c117c57ae1bbeb7d4279527a17b0f528c9e1 Mon Sep 17 00:00:00 2001 From: Joel Purra Date: Sun, 29 Jan 2017 08:48:17 +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..f7083b1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +root = true + +[*] +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true +end_of_line = lf + +[*.{html,js,json,md,css}] +indent_style = space + +[*.{html,js}] +indent_size = 4 + +[*.{json,md,css}] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false