Skip to content

Commit

Permalink
chore: update linter configuration in .golangci.yml
Browse files Browse the repository at this point in the history
- Remove the `deadcode` linter from the `.golangci.yml` file
- Add the `structcheck` linter to the `.golangci.yml` file
- Add the `varcheck` linter to the `.golangci.yml` file

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 10, 2023
1 parent a57c2d0 commit 6be22ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ linters:
fast: false
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
Expand All @@ -29,13 +28,11 @@ linters:
- nolintlint
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- gofumpt

Expand Down

0 comments on commit 6be22ba

Please sign in to comment.