revive: enable some additional code quality rules

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2020-04-08 17:01:23 -04:00 committed by John Mulligan
parent c9acb56afe
commit 9764170d5c
1 changed files with 6 additions and 0 deletions

View File

@ -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]