diff options
author | Wim <wim@42.be> | 2023-03-09 22:48:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 22:48:00 +0100 |
commit | 08779c29099e8940493df56d28d8aa131ac8342e (patch) | |
tree | 7ad8ce25cf371e582137e1706dd671a6bf4342d0 /vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml | |
parent | d5f9cdf912d43cd2a5cb243e086fbdab9a9073b0 (diff) | |
download | matterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.tar.gz matterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.tar.bz2 matterbridge-msglm-08779c29099e8940493df56d28d8aa131ac8342e.zip |
Update dependencies (#2007)
* Update dependencies
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 |