diff --git a/.golangci.yml b/.golangci.yml index 6a0c6a4db..65483ec55 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -48,9 +48,7 @@ linters: - nakedret - cyclop - gosimple - - varcheck - unused - - deadcode - exportloopref - gocritic - forbidigo @@ -71,9 +69,9 @@ linters-settings: gosimple: # Select the Go version to target. The default is '1.13'. - go: "1.17" + go: '1.17' # https://staticcheck.io/docs/options#checks - checks: ["all"] + checks: ['all'] gocritic: disabled-checks: @@ -83,7 +81,7 @@ linters-settings: forbidigo: # Forbid the following identifiers (identifiers are written using regexp): forbid: - # Logging via Print bypasses our logging framework. + # Logging via Print bypasses our logging framework. - ^(fmt\.Print(|f|ln)|print|println) - ^panic.*$