Skip to content

Enable gocritic linter

Pedro Pombeiro requested to merge 25889-gocritic-linter into master

What does this MR do?

Enables the gocritic linter in .golangci.yml and fixes reported issues.

Why was this MR needed?

See #25889 (closed)

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Closes #25889 (closed)

Merge request reports