chore(lint): add bidichk, ifshort, nilnil and tenv

This commit is contained in:
Quentin McGaw
2021-11-08 22:41:20 +00:00
parent e4c306c0ee
commit c07a0b0ada

View File

@@ -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