diff --git a/.golangci.example.yml b/.golangci.example.yml index 0bb7444e..37a6a07e 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -164,7 +164,7 @@ linters-settings: settings: # settings passed to gocritic captLocal: # must be valid enabled check name - checkLocals: true + paramsOnly: true rangeValCopy: sizeThreshold: 32 diff --git a/README.md b/README.md index f897e17b..8ea78fa8 100644 --- a/README.md +++ b/README.md @@ -688,7 +688,7 @@ linters-settings: settings: # settings passed to gocritic captLocal: # must be valid enabled check name - checkLocals: true + paramsOnly: true rangeValCopy: sizeThreshold: 32