Skip to content

Commit

Permalink
Fix golangci#382: make go-critic example config valid
Browse files Browse the repository at this point in the history
  • Loading branch information
jirfag committed Feb 11, 2019
1 parent 186fe37 commit b3bad28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3bad28

Please sign in to comment.