revive: enable additional rules

This enables a bunch of rules that are fairly safe for go-ceph.
There's a lot more rules, but many of them are not as good a fit.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-08-16 12:59:02 -04:00 committed by mergify[bot]
parent 6a9c0b243a
commit 361598d4d3
1 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,13 @@ warningCode = 0
[rule.constant-logical-expr]
[rule.unnecessary-stmt]
[rule.unused-receiver]
[rule.modifies-parameter]
[rule.modifies-value-receiver]
[rule.range-val-in-closure]
[rule.waitgroup-by-value]
[rule.duplicated-imports]
[rule.struct-tag]
[rule.import-shadowing]
[rule.argument-limit]
arguments = [7]