From f020070b7d7871558f37999bcaf87e4145f3ccfb Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 21 Jun 2020 15:15:47 -0500 Subject: [PATCH] Add .editorconfig. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..2f5475e44 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[**.{js,rb,css,erb,md,json,yml}] +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[**.html.erb] +indent_size = unset + +[app/javascript/vendor/**] +indent_size = unset