From eb6386e41691be27f6eb7eef693362e8b8ee8f30 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 25 Feb 2020 14:57:28 -0500 Subject: [PATCH] testing: set "exported" rule failures back to errors We had a lot of "exported" badness previously but that either been resolved or disabled on a case-by-case basis. Make the rule fail the check so that new cases like this are not brought in. Signed-off-by: John Mulligan --- .revive.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.revive.toml b/.revive.toml index 5e2fdaf..e6677c3 100644 --- a/.revive.toml +++ b/.revive.toml @@ -15,7 +15,6 @@ warningCode = 0 [rule.error-strings] [rule.error-naming] [rule.exported] -severity = "warning" [rule.if-return] [rule.increment-decrement] #[rule.var-naming]