From 01b12b43d4f85a7b310af3685307d93cb38f08e8 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Fri, 18 Jun 2021 13:47:05 +0200 Subject: [PATCH] Golangci : add linters (#653) * Update .golangci.yml * Update .golangci.yml --- .golangci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index dcda646..0401302 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,7 @@ linters: enable: - asciicheck - bodyclose + - deadcode - depguard - dogsled - durationcheck @@ -11,13 +12,20 @@ linters: - gofumpt - goimports - gosec + - gosimple - govet - importas + - ineffassign - megacheck - misspell - nakedret - nolintlint - revive + - staticcheck + - structcheck + - typecheck - unconvert - unparam - - wastedassign \ No newline at end of file + - unused + - varcheck + - wastedassign