diff --git a/.golangci.yml b/.golangci.yml index e621f82..e8f807a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,6 +34,7 @@ linters: # - "funlen" # It causes issues in table driven tests, and cyclomatic complexity is more relevant. # - "gci" # Redundant with goimports and grouper. # - "ginkgolinter" # Not used. + - "gocheckcompilerdirectives" # - "gochecknoglobals" # It's OK. # - "gochecknoinits" # It's OK. - "gochecksumtype" @@ -138,8 +139,6 @@ linters-settings: - "whyNoLint" # We already have the nolintlint linter. gocyclo: min-complexity: 10 - gosimple: - checks: [ "all" ] govet: enable-all: true disable: @@ -162,10 +161,6 @@ linters-settings: - "disableStutteringCheck" - name: "unused-parameter" # It's OK. disabled: true - staticcheck: - checks: [ "all" ] - stylecheck: - checks: [ "all" ] issues: max-issues-per-linter: 0 max-same-issues: 0 diff --git a/Makefile-common.mk b/Makefile-common.mk index 4ac5934..31c50cc 100644 --- a/Makefile-common.mk +++ b/Makefile-common.mk @@ -53,7 +53,7 @@ lint: # - tag: vX.Y.Z # - branch: master # - latest -GOLANGCI_LINT_VERSION?=v1.55.0 +GOLANGCI_LINT_VERSION?=v1.55.1 # Installation type: # - binary # - source