diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml index e4f777334..fcfbdee76 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,7 +14,6 @@ run: linters: # enable some extra linters, see here for the list: https://golangci-lint.run/usage/linters/ enable: - - contextcheck - forcetypeassert - goconst - gocritic @@ -27,3 +26,8 @@ linters-settings: govet: disable: - composites + staticcheck: + # Enable all checks + # Disable: + # - SA1012: nil context passing + checks: ["all", "-SA1012"] |