villebro opened a new pull request, #345:
URL: https://github.com/apache/superset-kubernetes-operator/pull/345

   ## Summary
   
   The Go lint target only ran `golangci-lint run`. With golangci-lint v2, 
formatter checks configured under `formatters:` are enforced by `golangci-lint 
fmt`, so gofmt/goimports drift in regular files or `*_test.go` files could slip 
past CI.
   
   This updates `make lint-go` to run `golangci-lint fmt --diff` after the 
existing analyzer pass, and updates `make lint-go-fix` to apply formatter fixes 
too.
   
   ## Details
   
   - Keeps the existing analyzer configuration unchanged, including the 
intentional test-file exclusions for selected production-oriented linters.
   - Adds formatter verification to the normal lint path so malformed Go 
formatting in tests is caught by CI.
   
   ## Verification
   
   - `make lint`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to