diff --git a/.editorconfig b/.editorconfig index 0575367..a832e8f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -30,3 +30,6 @@ indent_style = tab [{go.mod,go.sum,*.go}] indent_style = tab indent_size = 4 + +[*.golden] +insert_final_newline = false diff --git a/.golangci.yml b/.golangci.yml index f46734a..2ab379b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -44,7 +44,7 @@ issues: linters-settings: errchkjson: # report warning when checking error when not required - check-error-free-encoding: true + check-error-free-encoding: false # encoding of struct with no exported fields report-no-exported: true sloglint: