diff options
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml')
-rw-r--r-- | vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml index 66712f60..8db41072 100644 --- a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml +++ b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml @@ -1,9 +1,11 @@ --- +run: + timeout: 5m + linters: disable-all: true enable: - bodyclose - - deadcode - errcheck - gochecknoglobals - goconst @@ -19,13 +21,11 @@ linters: - nakedret - prealloc - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - wsl - godot @@ -40,7 +40,6 @@ linters: - makezero - thelper - predeclared - - ifshort - revive - durationcheck - gomoddirectives @@ -57,9 +56,18 @@ linters: - grouper - decorder - containedctx - # - execinquery # FIXME: panic in 1.46.0 - nosprintfhostport + - usestdlibvars + + - interfacebloat + - reassign + + - testableexamples + - gocheckcompilerdirectives + - asasalint + +# - musttag # TODO: need update golangci-lint # - wrapcheck # TODO: v3 Fix # - testpackage # TODO: Fix testpackage # - noctx # TODO: Fix noctx @@ -90,11 +98,22 @@ linters: # - errchkjson # - maintidx # - nonamedreturns +# - nosnakecase +# - execinquery +# - logrlint + +# - dupword + +# - ginkgolinter # depricated # - maligned # - interfacer # - golint +# - ifshort +# - deadcode +# - structcheck +# - varcheck issues: exclude-rules: @@ -114,4 +133,8 @@ issues: - stylecheck text: "ST1003:.*(Ts|ts).*TS" + - linters: + - gosec + text: "G307:" + exclude-use-default: false |