Fix #382: make go-critic example config valid

This commit is contained in:
Denis Isaev 2019-02-11 09:32:43 +03:00
parent 186fe37bf8
commit b3bad285d0
No known key found for this signature in database
GPG Key ID: A36A0EC8E27A1A01
2 changed files with 2 additions and 2 deletions

View File

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

View File

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