chore(lint): add bidichk, ifshort, nilnil and tenv
This commit is contained in:
@@ -31,8 +31,11 @@ linters:
|
|||||||
enable:
|
enable:
|
||||||
# - cyclop
|
# - cyclop
|
||||||
# - errorlint
|
# - errorlint
|
||||||
|
# - ireturn
|
||||||
|
# - varnamelen
|
||||||
# - wrapcheck
|
# - wrapcheck
|
||||||
- asciicheck
|
- asciicheck
|
||||||
|
- bidichk
|
||||||
- bodyclose
|
- bodyclose
|
||||||
- dogsled
|
- dogsled
|
||||||
- dupl
|
- dupl
|
||||||
@@ -56,7 +59,7 @@ linters:
|
|||||||
- gomoddirectives
|
- gomoddirectives
|
||||||
- goprintffuncname
|
- goprintffuncname
|
||||||
- gosec
|
- gosec
|
||||||
- importas
|
- ifshort
|
||||||
- importas
|
- importas
|
||||||
- lll
|
- lll
|
||||||
- makezero
|
- makezero
|
||||||
@@ -64,6 +67,7 @@ linters:
|
|||||||
- nakedret
|
- nakedret
|
||||||
- nestif
|
- nestif
|
||||||
- nilerr
|
- nilerr
|
||||||
|
- nilnil
|
||||||
- noctx
|
- noctx
|
||||||
- nolintlint
|
- nolintlint
|
||||||
- prealloc
|
- prealloc
|
||||||
@@ -73,6 +77,7 @@ linters:
|
|||||||
- revive
|
- revive
|
||||||
- rowserrcheck
|
- rowserrcheck
|
||||||
- sqlclosecheck
|
- sqlclosecheck
|
||||||
|
- tenv
|
||||||
- thelper
|
- thelper
|
||||||
- tparallel
|
- tparallel
|
||||||
- unconvert
|
- unconvert
|
||||||
|
|||||||
Reference in New Issue
Block a user