diff --git a/.golangci.yml b/.golangci.yml index e0715fb..82892e2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,27 +5,27 @@ linters: disable: # TODO: remove the line and fix the issues + - bodyclose + - cyclop + - depguard - err113 + - errorlint - forbidigo - gochecknoglobals + - gochecknoinits - gomnd + - inamedparam - ireturn - - mnd + - lll + - musttag + - nestif - paralleltest + - predeclared + - recvcheck - revive + - whitespace - wrapcheck - wsl - - errorlint - - depguard - - lll - - predeclared - - inamedparam - - whitespace - - nestif - - gochecknoinits - - bodyclose - - cyclop - - musttag - nlreturn # keeps the code concise - godox # I like leaving TODOs in the code @@ -33,6 +33,10 @@ linters: - testpackage # keep the tests close to the code - exhaustruct # it's ok not to specify all the fields in a struct definition + # deprecated + - mnd + - exportloopref + issues: exclude-rules: - path: _test.go