From 9f44c267899fabd0b180cdf6cd41e6d77b2fb423 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Mon, 29 Aug 2016 22:05:44 -0300 Subject: [PATCH] Update .editorconfig (#3534) [CI SKIP] --- .editorconfig | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 75ba9dacb..18fd08dbc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,8 +5,17 @@ root = true [*] charset = utf-8 end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{go,tmpl}] indent_style = tab +indent_size = 4 -[*.yml] +[*.{less,yml}] indent_style = space indent_size = 2 + +[*.js] +indent_style = space +indent_size = 4