Skip to content

Commit 17b65c8

Browse files
committed
chore: refactor linter configurations and settings
- Remove `deadcode` and `depguard` linters - Remove `structcheck` linter - Remove `varcheck` linter - Remove `linters-settings` section Signed-off-by: appleboy <[email protected]>
1 parent cd336fa commit 17b65c8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

.golangci.yml

-10
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ linters:
44
fast: false
55
enable:
66
- bodyclose
7-
- deadcode
8-
- depguard
97
- dogsled
108
- dupl
119
- errcheck
@@ -29,20 +27,12 @@ linters:
2927
- nolintlint
3028
- rowserrcheck
3129
- staticcheck
32-
- structcheck
3330
- stylecheck
3431
- typecheck
3532
- unconvert
3633
- unparam
3734
- unused
38-
- varcheck
3935
- whitespace
4036
- gofumpt
41-
4237
run:
4338
timeout: 3m
44-
45-
linters-settings:
46-
dupl:
47-
# tokens count to trigger issue, 150 by default
48-
threshold: 200

0 commit comments

Comments
 (0)