From d5a258213ddcac4b57ebc494c4f39fc31f973202 Mon Sep 17 00:00:00 2001 From: Norwin Date: Mon, 22 Aug 2022 20:53:19 +0800 Subject: [PATCH] Fix CI: disable package-comments lint rule (#494) There was an unintended change to the rule in revive that now makes our CI trip: https://github.com/mgechev/revive/pull/694 The package-comments now expected are not really worth writing as these are tiny internal packages, so this change just disables that rule for now. Co-authored-by: Norwin Reviewed-on: https://gitea.com/gitea/tea/pulls/494 Reviewed-by: Lunny Xiao Reviewed-by: Andrew Thornton Co-authored-by: Norwin Co-committed-by: Norwin --- .revive.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/.revive.toml b/.revive.toml index 74743d5..90969b3 100644 --- a/.revive.toml +++ b/.revive.toml @@ -16,7 +16,6 @@ warningCode = 1 [rule.increment-decrement] [rule.var-naming] [rule.var-declaration] -[rule.package-comments] [rule.range] [rule.receiver-naming] [rule.time-naming]