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 <git@nroo.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/494
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Norwin <noerw@noreply.gitea.io>
Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
Norwin 2022-08-22 20:53:19 +08:00 committed by Andrew Thornton
parent f83f579dea
commit d5a258213d
1 changed files with 0 additions and 1 deletions

View File

@ -16,7 +16,6 @@ warningCode = 1
[rule.increment-decrement] [rule.increment-decrement]
[rule.var-naming] [rule.var-naming]
[rule.var-declaration] [rule.var-declaration]
[rule.package-comments]
[rule.range] [rule.range]
[rule.receiver-naming] [rule.receiver-naming]
[rule.time-naming] [rule.time-naming]