ChainSafe / ChainSafe/gossamer

Linting: add `ireturn` linter

Open
#2,146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Task summary

Continuing from #2088 we should extend the 'return concrete types, accept interfaces' in the entire codebase.
There are only a few (about ~10) lint issues caused by `ireturn` so we could fix them and add `ireturn` to the golangci-lint yml configuration file

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.