Skip to content

Enable errcheck linter

What does this MR do?

This MR enables the errcheck linter and fixes issues reported by the linter.

Why was this MR needed?

To make our reviews quicker and more thorough by automatically detecting return values that are not used.

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

This MR fixes the issues by explicitly assigning values to underscore. There are no functional differences.

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 #25159 (closed)

Merge request reports