chore(lint): add ireturn linter

- Return concrete structs
- Accept interfaces
- Define narrow interfaces locally where needed
This commit is contained in:
Quentin McGaw
2022-08-28 19:50:02 +00:00
parent 45c684232d
commit 1561babd76
25 changed files with 83 additions and 115 deletions

View File

@@ -41,6 +41,7 @@ linters:
- gosec
# - goerr113 # TODO
- importas
- ireturn
- lll
- misspell
- nakedret