golangci-lint: remove "strict" checking

The corresponding "pull-kubernetes-verify-lint" job was already removed
earlier. Manual strict checking was still possible, but doesn't really make
sense for the same reasons why the job was removed (e.g. the decisions which
checks should be "strict" were too arbitrary).

The explanations for "hints" no longer end with "In general please prefer to
fix the error, ..." because that was misleading and only really applied to the
checks for existing code. For those checks we prefer to fix errors instead of
suppressing them, but not for hints.
This commit is contained in:
Patrick Ohly
2025-01-29 09:39:53 +01:00
parent 6e3546228d
commit 949385731f
6 changed files with 7 additions and 299 deletions

View File

@@ -40,5 +40,4 @@ generate () {
# Regenerate.
generate hack/golangci.yaml Base=1
generate hack/golangci-strict.yaml Strict=1
generate hack/golangci-hints.yaml Hints=1