Skip to content

golangci-lint: Restore default revive lints

Will Chandler (ex-GitLab) requested to merge wc/fix-revive-lints into master

With !4806 (merged) we set context-as-argument the sole argument to revive:rules. This causes golangci-lint to disable all revive lints that were previously enabled by default.

Re-enable the default revive lints by explicitly listing them in our config. This triggers a large number of lint errors, resolve these as well in this commit.

Merge request reports