From a1bee6806357f792a3ce43c9ef497ee6482f074a Mon Sep 17 00:00:00 2001 From: KonradStaniec Date: Mon, 9 Dec 2024 07:20:27 +0100 Subject: [PATCH] re-enable more linters --- .golangci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index b90ce20e5..b6dd494ab 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,12 +1,12 @@ run: timeout: 5m -# TODO: enable linter +# TODO: enable all linters linters: disable-all: true enable: - # - asasalint - # - asciicheck - # - bidichk + - asasalint + - asciicheck + - bidichk # - bodyclose # - containedctx # - contextcheck @@ -20,13 +20,13 @@ linters: # - exhaustive # - forbidigo # - forcetypeassert - # - goconst + - goconst # - gocritic # - gocyclo # - goheader # - gomodguard - # - goprintffuncname - # - gosimple + - goprintffuncname + - gosimple - govet # - grouper # - importas @@ -45,19 +45,19 @@ linters: # - revive # - rowserrcheck # - sqlclosecheck - # - staticcheck + - staticcheck # - stylecheck # - tenv # - testableexamples # - tparallel - # - typecheck + - typecheck # - unconvert # - unparam # - usestdlibvars - # - unused + - unused # - wastedassign - whitespace - # - wrapcheck # + # - wrapcheck issues: max-same-issues: 0