chore: refactor Lint Configuration for Go Project

- Remove `deadcode`, `depguard`, `structcheck`, and `varcheck` linters from the `.golangci.yml` configuration

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-02-17 16:07:48 +08:00
parent 2958f15884
commit aa17ccf831
No known key found for this signature in database
1 changed files with 0 additions and 4 deletions

View File

@ -4,8 +4,6 @@ linters:
fast: false fast: false
enable: enable:
- bodyclose - bodyclose
- deadcode
- depguard
- dogsled - dogsled
- dupl - dupl
- errcheck - errcheck
@ -29,13 +27,11 @@ linters:
- nolintlint - nolintlint
- rowserrcheck - rowserrcheck
- staticcheck - staticcheck
- structcheck
- stylecheck - stylecheck
- typecheck - typecheck
- unconvert - unconvert
- unparam - unparam
- unused - unused
- varcheck
- whitespace - whitespace
- gofumpt - gofumpt