Missing file
This commit is contained in:
38
.golangci.yaml
Normal file
38
.golangci.yaml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
linters:
|
||||||
|
enable-all: true
|
||||||
|
disable:
|
||||||
|
# re-enable when working
|
||||||
|
- rowserrcheck
|
||||||
|
- wastedassign
|
||||||
|
# maybe enable these
|
||||||
|
- wrapcheck
|
||||||
|
# leave these disabled
|
||||||
|
- cyclop
|
||||||
|
- deadcode
|
||||||
|
- dupl
|
||||||
|
- exhaustivestruct
|
||||||
|
- exhaustruct
|
||||||
|
- forbidigo
|
||||||
|
- forcetypeassert
|
||||||
|
- funlen
|
||||||
|
- gochecknoglobals
|
||||||
|
- gocognit
|
||||||
|
- goconst
|
||||||
|
- godox
|
||||||
|
- golint
|
||||||
|
- gomnd
|
||||||
|
- ifshort
|
||||||
|
- interfacer
|
||||||
|
- lll
|
||||||
|
- maintidx
|
||||||
|
- maligned
|
||||||
|
- nilnil
|
||||||
|
- nestif
|
||||||
|
- nlreturn
|
||||||
|
- nolintlint
|
||||||
|
- nosnakecase
|
||||||
|
- scopelint
|
||||||
|
- structcheck
|
||||||
|
- thelper
|
||||||
|
- varcheck
|
||||||
|
- varnamelen
|
||||||
Reference in New Issue
Block a user