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