Skip to content

Commit

Permalink
Deprecate deadcode, varcheck and depguard
Browse files Browse the repository at this point in the history
  • Loading branch information
lindenmckenzie committed Jan 29, 2024
1 parent 8d5176a commit 5ddac2d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,12 @@ linters-settings:
- ifElseChain
- octalLiteral
- hugeParam
funlen:
# lines: 100
# statements: 100

linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
- deadcode
- depguard
- dogsled
- errcheck
- gochecknoinits
Expand All @@ -66,10 +61,10 @@ linters:
- ineffassign
- nakedret
- unconvert
- varcheck
- whitespace
- gocognit
- prealloc
- unused

issues:
exclude-rules:
Expand Down

0 comments on commit 5ddac2d

Please sign in to comment.