Skip to content

Commit a4838f3

Browse files
committed
1 parent b9e61b4 commit a4838f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ linters:
1616
- errcheck
1717
- exhaustive
1818
- exportloopref
19-
- gochecknoinits
2019
- gocognit
2120
- gocritic
2221
- gocyclo
@@ -119,6 +118,9 @@ linters:
119118
# It's OK to have dynamic errors as this is mostly a CLI
120119
- goerr113
121120

121+
# Work around https://github.com/golangci/golangci-lint/pull/4698
122+
- gochecknoinits
123+
122124
issues:
123125
# Don't hide multiple issues that belong to one class since GitHub annotations can handle them all nicely.
124126
max-issues-per-linter: 0

internal/version/version.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ var (
1212
FullVersion = ""
1313
)
1414

15-
//nolint:gochecknoinits
1615
func init() {
1716
if Version == "unknown" {
1817
info, ok := debug.ReadBuildInfo()

0 commit comments

Comments
 (0)