chore(linters): Enable more checkers for gocritic (#14449)
This commit is contained in:
parent
5b9fe9e633
commit
3005d99f71
|
|
@ -118,13 +118,17 @@ linters-settings:
|
||||||
- weakCond
|
- weakCond
|
||||||
# performance
|
# performance
|
||||||
- equalFold
|
- equalFold
|
||||||
- hugeParam
|
- indexAlloc
|
||||||
|
- hugeParam
|
||||||
- preferDecodeRune
|
- preferDecodeRune
|
||||||
- preferFprint
|
- preferFprint
|
||||||
- preferStringWriter
|
- preferStringWriter
|
||||||
- rangeValCopy
|
- preferWriteByte
|
||||||
|
- rangeExprCopy
|
||||||
|
- rangeValCopy
|
||||||
|
- sliceClear
|
||||||
- stringXbytes
|
- stringXbytes
|
||||||
|
|
||||||
# Settings passed to gocritic.
|
# Settings passed to gocritic.
|
||||||
# The settings key is the name of a supported gocritic checker.
|
# The settings key is the name of a supported gocritic checker.
|
||||||
# The list of supported checkers can be find in https://go-critic.github.io/overview.
|
# The list of supported checkers can be find in https://go-critic.github.io/overview.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue