Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev committed May 7, 2024
1 parent b9e61b4 commit a4838f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ linters:
- errcheck
- exhaustive
- exportloopref
- gochecknoinits
- gocognit
- gocritic
- gocyclo
Expand Down Expand Up @@ -119,6 +118,9 @@ linters:
# It's OK to have dynamic errors as this is mostly a CLI
- goerr113

# Work around https://github.com/golangci/golangci-lint/pull/4698
- gochecknoinits

issues:
# Don't hide multiple issues that belong to one class since GitHub annotations can handle them all nicely.
max-issues-per-linter: 0
Expand Down
1 change: 0 additions & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var (
FullVersion = ""
)

//nolint:gochecknoinits
func init() {
if Version == "unknown" {
info, ok := debug.ReadBuildInfo()
Expand Down

0 comments on commit a4838f3

Please sign in to comment.