Skip to content

Commit 1617e19

Browse files
authored
Update .golangci.yml
1 parent f30b4cd commit 1617e19

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/.golangci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ linters:
44
default: none
55
enable:
66
- gocognit # 检查函数 Cognitive Complexity 复杂度
7-
- gofmt
8-
- errcheck
9-
- staticcheck
107

11-
settings:
12-
errcheck:
13-
exclude-functions:
14-
- (io.Closer).Close
8+
9+
linters-settings:
10+
errcheck:
11+
exclude-functions:
12+
- (io.Closer).Close
1513
run:
1614
tests: false
1715
issues:

0 commit comments

Comments
 (0)