mirror of https://github.com/ceph/go-ceph
revive: enable some additional code quality rules
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
c9acb56afe
commit
9764170d5c
|
@ -31,3 +31,9 @@ warningCode = 0
|
||||||
[rule.unused-parameter]
|
[rule.unused-parameter]
|
||||||
[rule.unreachable-code]
|
[rule.unreachable-code]
|
||||||
[rule.redefines-builtin-id]
|
[rule.redefines-builtin-id]
|
||||||
|
|
||||||
|
[rule.atomic]
|
||||||
|
[rule.bool-literal-in-expr]
|
||||||
|
[rule.constant-logical-expr]
|
||||||
|
[rule.unnecessary-stmt]
|
||||||
|
[rule.unused-receiver]
|
||||||
|
|
Loading…
Reference in New Issue