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,11 +118,15 @@ linters-settings:
- weakCond - weakCond
# performance # performance
- equalFold - equalFold
- indexAlloc
- hugeParam - hugeParam
- preferDecodeRune - preferDecodeRune
- preferFprint - preferFprint
- preferStringWriter - preferStringWriter
- preferWriteByte
- rangeExprCopy
- rangeValCopy - rangeValCopy
- sliceClear
- stringXbytes - stringXbytes
# Settings passed to gocritic. # Settings passed to gocritic.