mirror of https://github.com/ceph/go-ceph
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:
parent
6a9c0b243a
commit
361598d4d3
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue