-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A new version of golangci-lint updated depguard, which in turn started erroring because it was missing a config. Previously depguard did not do anything as we never configured a list of allowed/denied imports. In general, we already have gomodguard for linting imports. To avoid sudden breakages of our CI in the future, I pinned the exact version of golangci-lint to the current release. Upgrading this should hppen through a PR process (e.g. by renovate) so we can notice new linting failures and fix them before merging to main.
- Loading branch information
Showing
3 changed files
with
3 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ linters: | |
disable-all: true | ||
enable: | ||
- bodyclose | ||
- depguard | ||
- errcheck | ||
- errname | ||
- exhaustive | ||
|