Fix linter
This commit is contained in:
parent
a0bc8b1af8
commit
24a754d34a
3 changed files with 5 additions and 4 deletions
|
|
@ -41,4 +41,6 @@ linters:
|
|||
- revive # Force CamelCase instead of all caps
|
||||
- nilerr # Force return err when not nil
|
||||
- wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter
|
||||
- gomoddirectives # Prohibits the use of replace statements
|
||||
- gomoddirectives # Prohibits the use of replace statements
|
||||
- varnamelen # Forbids short var names
|
||||
- ireturn # Prevents returning interfaces
|
||||
Loading…
Add table
Add a link
Reference in a new issue