forked from lug/matterbridge
33
vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml
generated
vendored
33
vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user