From 0357859c8ba352545e4d68d16fcadff9869f89e9 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 24 Aug 2020 15:45:04 +0200 Subject: [PATCH] Add golangci config --- .golangci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .golangci.yml diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..36f9966 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,26 @@ +run: + tests: false + +issues: + max-issues-per-linter: 0 + max-same-issues: 0 + +linters: + enable: + - bodyclose + - dupl + - exportloopref + - goconst + - godot + - godox + - goimports + - gomnd + - goprintffuncname + - gosec + - misspell + - prealloc + - rowserrcheck + - sqlclosecheck + - unconvert + - unparam + - whitespace