Skip to content

Commit

Permalink
golangci.yml: Removing inactivated linters
Browse files Browse the repository at this point in the history
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
  • Loading branch information
coffeefreak101 committed May 8, 2024
1 parent 443bfed commit 6e24585
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ linters-settings:
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
golint:
min-confidence: 0
gocyclo:
min-complexity: 10
maligned:
Expand Down Expand Up @@ -57,19 +55,15 @@ linters:
- ineffassign
- stylecheck
- misspell
- deadcode
- staticcheck
- structcheck
- unused
- prealloc
- typecheck
- varcheck
# additional linters
- bodyclose
- gocritic
- goerr113
- goimports
- golint
- gomnd
- misspell
- noctx
Expand Down

0 comments on commit 6e24585

Please sign in to comment.