From ecf2c4d44142daee3afd723971195dd436ea3312 Mon Sep 17 00:00:00 2001 From: Nathan Youngman <4566+nathany@users.noreply.github.com> Date: Sat, 5 Oct 2019 17:12:25 -0600 Subject: [PATCH] revise editor config tabs only for Go --- .editorconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index ba49e3c..fad8958 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,12 @@ root = true -[*] +[*.go] indent_style = tab indent_size = 4 +insert_final_newline = true + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true -- 2.50.1