Add errorlint linter to golangci-lint settings

What does this MR do?

Add errorlint linter to golangci-lint settings

  • The linter helps in making sure we are consistent with error wrapping. The %v verb does not work with errors.As as such %w should be preffered. The print statments are same for both %v and %w verbs.

Why was this MR needed?

What's the best way to test this MR?

What are the relevant issue numbers?

Merge request reports

Loading