update golangci-lint configuration (#5182)
This commit is contained in:
@@ -12,6 +12,7 @@ linters:
|
||||
- gocritic
|
||||
- lll
|
||||
- misspell
|
||||
- modernize
|
||||
- nilerr
|
||||
- prealloc
|
||||
- predeclared
|
||||
@@ -71,6 +72,12 @@ linters:
|
||||
shadow:
|
||||
strict: true
|
||||
|
||||
modernize:
|
||||
disable:
|
||||
- reflecttypefor
|
||||
- stringsbuilder
|
||||
- testingcontext
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
- gofmt
|
||||
|
||||
Reference in New Issue
Block a user