Improve golang CI
This commit is contained in:
parent
8145690bfd
commit
fee9ec19fd
5 changed files with 46 additions and 29 deletions
|
|
@ -44,4 +44,6 @@ linters:
|
|||
- gomoddirectives # Prohibits the use of replace statements
|
||||
- varnamelen # Forbids short var names
|
||||
- ireturn # Prevents returning interfaces
|
||||
- forcetypeassert # Forces to assert types in tests
|
||||
- forcetypeassert # Forces to assert types in tests
|
||||
- nonamedreturns # Disallows named returns
|
||||
- exhaustruct # Forces all structs to be named
|
||||
Loading…
Add table
Add a link
Reference in a new issue