Add and fix errorlint
This commit is contained in:
parent
2dde1242cf
commit
0c45f8d252
4 changed files with 5 additions and 6 deletions
|
|
@ -29,11 +29,9 @@ linters:
|
|||
- gocritic
|
||||
|
||||
# We should strive to enable these:
|
||||
- testpackage
|
||||
- stylecheck
|
||||
- wrapcheck
|
||||
- goerr113
|
||||
- errorlint
|
||||
- forcetypeassert
|
||||
- errname
|
||||
- gosec
|
||||
|
|
@ -46,6 +44,7 @@ linters:
|
|||
- cyclop
|
||||
- nestif
|
||||
- wsl # might be incompatible with gofumpt
|
||||
- testpackage
|
||||
|
||||
linters-settings:
|
||||
varnamelen:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue