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
|
- cyclop
|
||||||
- depguard
|
- depguard
|
||||||
- dupword
|
- dupword
|
||||||
- err113
|
- goerr113
|
||||||
- exhaustruct
|
- exhaustruct
|
||||||
- gochecknoglobals
|
- gochecknoglobals
|
||||||
- godot
|
- godot
|
||||||
- intrange
|
|
||||||
- ireturn
|
- ireturn
|
||||||
- nlreturn
|
- nlreturn
|
||||||
- noctx
|
- noctx
|
||||||
|
|
@ -41,7 +40,7 @@ linters:
|
||||||
- ineffassign
|
- ineffassign
|
||||||
- lll
|
- lll
|
||||||
- maintidx
|
- maintidx
|
||||||
- mnd
|
- gomnd
|
||||||
- nestif
|
- nestif
|
||||||
- nilnil
|
- nilnil
|
||||||
- paralleltest
|
- paralleltest
|
||||||
|
|
@ -53,7 +52,6 @@ linters:
|
||||||
- thelper
|
- thelper
|
||||||
- unparam
|
- unparam
|
||||||
- usestdlibvars
|
- usestdlibvars
|
||||||
- usetesting
|
|
||||||
settings:
|
settings:
|
||||||
gomoddirectives:
|
gomoddirectives:
|
||||||
replace-allow-list:
|
replace-allow-list:
|
||||||
|
|
@ -79,7 +77,7 @@ linters:
|
||||||
tab-width: 4
|
tab-width: 4
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: US
|
||||||
mnd:
|
gomnd:
|
||||||
checks:
|
checks:
|
||||||
- argument
|
- argument
|
||||||
- assign
|
- assign
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue