-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update golangci-lint and fix new issues
Disabled linters: golint: The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive. interfacer: The linter 'interfacer' is deprecated (since v1.38.0) due to: The repository of the linter has been archived by the owner. scopelint: The linter 'scopelint' is deprecated (since v1.39.0) due to: The repository of the linter has been deprecated by the owner. Replaced by exportloopref. maligned: fieldalignment tagliatelle: We have a yaml structure already and it uses snake_case keys, this linter wants us to replace with camelCase. That would require a design document and update all yaml outputs. ireturn: Question? nilnil: We are using nil, nil returns in case it was not an error, but the resource does not exist. Later we might want to return an error and check for error type on the caller side. exhaustivestruct: We don't want to specify all fields with nil and empty string. I see the point, if you specify and the default behavior is changed, it does not break the code.
- Loading branch information
Showing
16 changed files
with
449 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.