Skip to content

Conversation

@sspaink
Copy link
Member

@sspaink sspaink commented Sep 3, 2025

There was a major version bump for golangci-lint: https://ldez.github.io/blog/2025/03/23/golangci-lint-v2/

Ran golangci-lint migrate as suggested in this guide. Only changes I had to make was to move the comments and add the timeout back. I think everything else stayed the same.

The staticheck linter has some quickfix rules enabled by default now, I decided to disable most of them as they seemed optional with little benefit. The rules are QF1001, QF1002, QF1003, QF1008, QF1009, QF1012. You can find more details here: https://staticcheck.dev/docs/checks/#QF1003. Definitely worth considering to enable them, but thought it would be better on a case-by-case basis.

Signed-off-by: Sebastian Spaink <[email protected]>
@netlify
Copy link

netlify bot commented Sep 3, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit a5ab645
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/68b89f469e4e810008e1bb09
😎 Deploy Preview https://deploy-preview-7878--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sspaink sspaink marked this pull request as ready for review September 3, 2025 19:57
Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🎈

@sspaink sspaink merged commit 8c0079f into open-policy-agent:main Sep 3, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants