Skip to content

Commit 6e24585

Browse files
golangci.yml: Removing inactivated linters
Removing "inactivated" linters, which are causing lint checks to fail with: "This linter is fully inactivated: it will not produce any reports." The linters that have been removed are: - deadcode - golint - structcheck - varcheck Apparently these linters were "inactivated" in v1.57.0 https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md#v1570
1 parent 443bfed commit 6e24585

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ linters-settings:
1111
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
1212
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
1313
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
14-
golint:
15-
min-confidence: 0
1614
gocyclo:
1715
min-complexity: 10
1816
maligned:
@@ -57,19 +55,15 @@ linters:
5755
- ineffassign
5856
- stylecheck
5957
- misspell
60-
- deadcode
6158
- staticcheck
62-
- structcheck
6359
- unused
6460
- prealloc
6561
- typecheck
66-
- varcheck
6762
# additional linters
6863
- bodyclose
6964
- gocritic
7065
- goerr113
7166
- goimports
72-
- golint
7367
- gomnd
7468
- misspell
7569
- noctx

0 commit comments

Comments
 (0)