From 790e515a5455be1576ed0700ced5af7c430d359b Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 1 Oct 2016 20:18:38 +0100 Subject: [PATCH] Update editorconfig --- .editorconfig | 15 +++++---------- gui/.editorconfig | 22 +++++++++------------- 2 files changed, 14 insertions(+), 23 deletions(-) diff --git a/.editorconfig b/.editorconfig index cc98f14c..476dd162 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,24 +2,19 @@ # properties used in this file, please see the EditorConfig documentation: # http://editorconfig.org/ -# indicate this is the root of the project root = true [*] charset = utf-8 - end_of_line = LF +indent_size = 4 +indent_style = tab insert_final_newline = true trim_trailing_whitespace = true +[*.{yml,json}] +indent_size = 2 indent_style = space -indent_size = 4 -[Makefile] -indent_style = tab - -[*.md] +[*.{md,diff}] trim_trailing_whitespace = false - -[*.go] -indent_style = tab \ No newline at end of file diff --git a/gui/.editorconfig b/gui/.editorconfig index 056b9e8e..476dd162 100644 --- a/gui/.editorconfig +++ b/gui/.editorconfig @@ -1,24 +1,20 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# editorconfig.org +# EditorConfig coding styles definitions. For more information about the +# properties used in this file, please see the EditorConfig documentation: +# http://editorconfig.org/ root = true [*] -end_of_line = lf charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -indent_style = tab +end_of_line = LF indent_size = 4 +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true -[*.yml] -indent_style = space +[*.{yml,json}] indent_size = 2 - -[*.json] indent_style = space -indent_size = 2 -[*.{diff,md}] +[*.{md,diff}] trim_trailing_whitespace = false