Update golang-ci lint config
This commit is contained in:
parent
0fdd07b0e2
commit
19f008e701
1 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,7 @@ linters:
|
||||||
- contextcheck
|
- contextcheck
|
||||||
- cyclop
|
- cyclop
|
||||||
- exhaustivestruct
|
- exhaustivestruct
|
||||||
|
- exhaustruct
|
||||||
- forbidigo
|
- forbidigo
|
||||||
- funlen
|
- funlen
|
||||||
- gochecknoglobals
|
- gochecknoglobals
|
||||||
|
@ -17,6 +18,7 @@ linters:
|
||||||
- goerr113
|
- goerr113
|
||||||
- gomnd
|
- gomnd
|
||||||
- ifshort
|
- ifshort
|
||||||
|
- interfacebloat
|
||||||
- interfacer
|
- interfacer
|
||||||
- ireturn
|
- ireturn
|
||||||
- lll
|
- lll
|
||||||
|
@ -24,6 +26,9 @@ linters:
|
||||||
- nilnil
|
- nilnil
|
||||||
- nlreturn
|
- nlreturn
|
||||||
- noctx
|
- noctx
|
||||||
|
- nolintlint
|
||||||
|
- nonamedreturns
|
||||||
|
- nosnakecase
|
||||||
- revive
|
- revive
|
||||||
- tagliatelle
|
- tagliatelle
|
||||||
- testpackage
|
- testpackage
|
||||||
|
@ -31,7 +36,6 @@ linters:
|
||||||
- whitespace
|
- whitespace
|
||||||
- wrapcheck
|
- wrapcheck
|
||||||
- wsl
|
- wsl
|
||||||
- nolintlint
|
|
||||||
|
|
||||||
linters-settings:
|
linters-settings:
|
||||||
revive:
|
revive:
|
||||||
|
|
Loading…
Add table
Reference in a new issue