From e8c0d8f3e32351b9b7a2495115d3c006f81dde41 Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Mon, 16 Dec 2019 13:25:55 -0500 Subject: [PATCH] testing: set revive to treat new check failures as errors Previously, revive was configured to only warn on detected issues. We have eliminated all those issues and so can set revive to error out and thus the 'make check' rule will fail if new issues are introduced. Signed-off-by: John Mulligan --- .revive.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.revive.toml b/.revive.toml index 9f5809c..eac36fa 100644 --- a/.revive.toml +++ b/.revive.toml @@ -1,6 +1,6 @@ ignoreGeneratedHeader = false -severity = "warning" +severity = "error" confidence = 0.8 errorCode = 1 warningCode = 0