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
# performance
- equalFold
- hugeParam
- indexAlloc
- hugeParam
- preferDecodeRune
- preferFprint
- preferFprint
- preferStringWriter
- rangeValCopy
- preferWriteByte
- rangeExprCopy
- rangeValCopy
- sliceClear
- stringXbytes
# Settings passed to gocritic.
# 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.