Enable minmax modernizer in golangci-lint

What does this MR do?

  • Enables the minmax modernizer in our golangci-lint config.
  • Fixes all issues flagged by minmax in our codebase.
  • Also updates the golangci-lint config to ensure that the list of issues is never silently truncated.

Why was this MR needed?

To improve code quality by enforcing the latest coding standards in Go.

What's the best way to test this MR?

Run make lint and verify that there are no issues flagged.

What are the relevant issue numbers?

N/A

Edited by Daniel Keenan

Merge request reports

Loading