Skip to content

Commit cc1f45b

Browse files
committed
chore: refactor codebase and update linter configuration
- Remove `deadcode`, `depguard`, `exportloopref`, `structcheck`, and `varcheck` linters from the configuration Signed-off-by: appleboy <[email protected]>
1 parent b17aa84 commit cc1f45b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.golangci.yml

-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ linters:
44
fast: false
55
enable:
66
- bodyclose
7-
- deadcode
8-
- depguard
97
- dogsled
108
- dupl
119
- errcheck
12-
- exportloopref
1310
- exhaustive
1411
- gochecknoinits
1512
- goconst
@@ -29,13 +26,11 @@ linters:
2926
- nolintlint
3027
- rowserrcheck
3128
- staticcheck
32-
- structcheck
3329
- stylecheck
3430
- typecheck
3531
- unconvert
3632
- unparam
3733
- unused
38-
- varcheck
3934
- whitespace
4035
- gofumpt
4136

0 commit comments

Comments
 (0)