chore(linters): Enable more checkers for gocritic (#14449)

This commit is contained in:
Paweł Żak 2024-01-02 12:29:04 +01:00 committed by GitHub
parent 5b9fe9e633
commit 3005d99f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

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