Skip to content

Conversation

@anderseknert
Copy link
Member

@anderseknert anderseknert commented Nov 17, 2025

  • Bump golangci-lint -> 2.6.2
  • Fix all deprecatedComment "notices should be in a dedicated paragraph, separated from the rest" reports
  • Enable appendCombine and fix all "appendCombine: can combine chain of X appends into one" notices
  • Fix various issues reported only once or twice, like zeroByteRepeat

@anderseknert anderseknert force-pushed the golangcilint branch 2 times, most recently from a521588 to 428e230 Compare November 17, 2025 09:10
@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit b3a1227
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/691ae61e2ce2f4000805ea8f
😎 Deploy Preview https://deploy-preview-8052--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.

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

@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 428e230
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/691ae67f79ebc8000803797f
😎 Deploy Preview https://deploy-preview-8052--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.

@netlify
Copy link

netlify bot commented Nov 17, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 5e53ea3
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/691af098bb159700087a170e
😎 Deploy Preview https://deploy-preview-8052--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.

- Bump golangci-lint -> 2.6.2
- Fix all `deprecatedComment` "notices should be in a dedicated paragraph, separated from the rest" reports
- Enable `appendCombine` and fix all "appendCombine: can combine chain of X appends into one" notices
- Enable `preferFprint` and fix the few reported issues
- Fix various issues reported only once or twice, like `zeroByteRepeat`

Signed-off-by: Anders Eknert <[email protected]>
@anderseknert anderseknert merged commit e03ac2f into open-policy-agent:main Nov 17, 2025
31 checks passed
@anderseknert anderseknert deleted the golangcilint branch November 17, 2025 10:08
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