Upgrade golangci-lint from v1 to v2#1279
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4ae8bab to
45b0dd8
Compare
|
thanks for this @sebrandon1 ! I see that gosimple was working fine with golanci-lint v1... do you know what might have happened to make it so that it cannot be found on v2? |
45b0dd8 to
ccf9175
Compare
|
Thanks for catching that @flavianmissi! In golangci-lint v2, |
ccf9175 to
92dc720
Compare
- Update GOLANGCI_LINT_VERSION from v1.64.8 to v2.0.2 - Migrate .golangci.yaml to v2 format: - Add version: "2" declaration - Move gofumpt to formatters.enable section - Remove gosimple linter (merged into staticcheck in v2) Tracking: redhat-best-practices-for-k8s/telco-bot#49
92dc720 to
61a59f8
Compare
|
@sebrandon1: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
.golangci.yamlto v2 formatChanges Made
version: "2"declarationgofumpttoformatters.enableTest plan
Tracking: redhat-best-practices-for-k8s/telco-bot#49