Skip to content

Commit 80e3f31

Browse files
lint updated
1 parent 63e463f commit 80e3f31

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,37 @@ linters:
2828
- performance
2929
- experimental
3030
- opinionated
31+
disabled-checks:
32+
- emptyStringTest
33+
errcheck:
34+
exclude-functions:
35+
- fmt.Fprintf
36+
- fmt.Fprintln
37+
- (*os.File).Close
38+
- (io.ReadCloser).Close
39+
revive:
40+
rules:
41+
- name: exported
42+
disabled: true
43+
- name: package-comments
44+
disabled: true
45+
- name: unused-parameter
46+
disabled: true
47+
gosec:
48+
excludes:
49+
- G104
50+
- G301
51+
- G302
52+
- G304
53+
- G703
54+
- G704
55+
staticcheck:
56+
checks:
57+
- "all"
58+
- "-QF1012"
59+
- "-ST1000"
60+
- "-ST1005"
61+
- "-ST1020"
3162

3263
formatters:
3364
enable:

0 commit comments

Comments
 (0)