chore: compatibility fixes for linter
This commit is contained in:
parent
f53e50c96a
commit
bf7756466e
1 changed files with 3 additions and 5 deletions
|
|
@ -7,11 +7,10 @@ linters:
|
|||
- cyclop
|
||||
- depguard
|
||||
- dupword
|
||||
- err113
|
||||
- goerr113
|
||||
- exhaustruct
|
||||
- gochecknoglobals
|
||||
- godot
|
||||
- intrange
|
||||
- ireturn
|
||||
- nlreturn
|
||||
- noctx
|
||||
|
|
@ -41,7 +40,7 @@ linters:
|
|||
- ineffassign
|
||||
- lll
|
||||
- maintidx
|
||||
- mnd
|
||||
- gomnd
|
||||
- nestif
|
||||
- nilnil
|
||||
- paralleltest
|
||||
|
|
@ -53,7 +52,6 @@ linters:
|
|||
- thelper
|
||||
- unparam
|
||||
- usestdlibvars
|
||||
- usetesting
|
||||
settings:
|
||||
gomoddirectives:
|
||||
replace-allow-list:
|
||||
|
|
@ -79,7 +77,7 @@ linters:
|
|||
tab-width: 4
|
||||
misspell:
|
||||
locale: US
|
||||
mnd:
|
||||
gomnd:
|
||||
checks:
|
||||
- argument
|
||||
- assign
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue