Skip to content

Enable funlen linter

What does this MR do?

Enables the funlen linter in .golangci.yml and fixes reported instances.

Why was this MR needed?

To ensure that we keep methods short and without too much complexity by breaking logic into smaller helper methods.

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

Merge request reports