From 7f1c3a3a458123137a968391434a95627ce984b1 Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Fri, 6 Nov 2020 23:52:00 +0100 Subject: [PATCH] Fix go formatting --- .automation/test/go/golang_good_01.go | 2 +- .editorconfig | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.automation/test/go/golang_good_01.go b/.automation/test/go/golang_good_01.go index 87595e3c..c0481191 100644 --- a/.automation/test/go/golang_good_01.go +++ b/.automation/test/go/golang_good_01.go @@ -3,5 +3,5 @@ package main import "fmt" func main() { - fmt.Println("hello world") + fmt.Println("hello world") } diff --git a/.editorconfig b/.editorconfig index a83686a8..abf24629 100644 --- a/.editorconfig +++ b/.editorconfig @@ -24,3 +24,7 @@ spaces_around_brackets = false # Max line length (not supported by all editors) # Enable this option by un-commenting the following line # max_line_length = 150 + +[{Makefile,go.mod,go.sum,*.go,.gitmodules}] +indent_style = tab +indent_size = 4