mirror of
https://gitea.com/gitea/tea
synced 2024-11-04 18:00:12 +00:00
d5a258213d
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>
25 lines
472 B
TOML
25 lines
472 B
TOML
ignoreGeneratedHeader = false
|
|
severity = "warning"
|
|
confidence = 0.8
|
|
errorCode = 1
|
|
warningCode = 1
|
|
|
|
[rule.blank-imports]
|
|
[rule.context-as-argument]
|
|
[rule.context-keys-type]
|
|
[rule.dot-imports]
|
|
[rule.error-return]
|
|
[rule.error-strings]
|
|
[rule.error-naming]
|
|
[rule.exported]
|
|
[rule.if-return]
|
|
[rule.increment-decrement]
|
|
[rule.var-naming]
|
|
[rule.var-declaration]
|
|
[rule.range]
|
|
[rule.receiver-naming]
|
|
[rule.time-naming]
|
|
[rule.unexported-return]
|
|
[rule.indent-error-flow]
|
|
[rule.errorf]
|