From 1895dfb2c1c5134dd06a13bc51fea00c69859620 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 2 Sep 2022 14:30:08 +0300 Subject: [PATCH] golangci: enable some more linters They have not found anything and maybe we better not have them find anything in the future. Commented ones can be useful in future, but find too many problems at the moment. --- .golangci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 4c282cb30..b79417f01 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -42,12 +42,22 @@ linters: # extra linters # - exhaustive + # - goconst + # - goerr113 + # - gomnd + # - nonamedreturns + # - unparam + - bidichk - bodyclose - contextcheck + - decorder + - durationcheck - errorlint + - exportloopref - gofmt - misspell - predeclared + - reassign - whitespace - goimports disable-all: true