mirror of
https://github.com/ceph/go-ceph
synced 2024-12-23 14:45:42 +00:00
testing: enable exported vars check as warning
(Re-)enable the revive check for exported vars/functions/etc at the warning level. We have a lot of pre-existing failures here so we do not want to fail on these, but we would like a list so we can work on eliminating them. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
e8c0d8f3e3
commit
6c949c1954
@ -14,7 +14,8 @@ warningCode = 0
|
|||||||
[rule.error-return]
|
[rule.error-return]
|
||||||
[rule.error-strings]
|
[rule.error-strings]
|
||||||
[rule.error-naming]
|
[rule.error-naming]
|
||||||
#[rule.exported]
|
[rule.exported]
|
||||||
|
severity = "warning"
|
||||||
[rule.if-return]
|
[rule.if-return]
|
||||||
[rule.increment-decrement]
|
[rule.increment-decrement]
|
||||||
#[rule.var-naming]
|
#[rule.var-naming]
|
||||||
|
Loading…
Reference in New Issue
Block a user