From e752c2a4deae55950a12f2610189f13727535f66 Mon Sep 17 00:00:00 2001 From: Bat Date: Sat, 1 Sep 2018 21:30:03 +0100 Subject: [PATCH] Add a .editorconfig Fixes #179 --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..71300769 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{js,rs,css,tera}] +charset = utf-8 + +[*.{rs,tera,css}] +indent_style = space +indent_size = 4 + +[*.js] +indent_style = space +indent_size = 2