Skip to content

Commit afa72f5

Browse files
committed
ref: golangci lint
1 parent b6390e1 commit afa72f5

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.golangci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ linters:
2424
- gosec
2525
- gocritic
2626
- staticcheck
27+
exclusions:
28+
presets:
29+
- comments
30+
- std-error-handling
31+
rules:
32+
- linters:
33+
- staticcheck
34+
text: "ST1003"
35+
- linters:
36+
- staticcheck
37+
text: "ST1000"
2738
settings:
2839
govet:
2940
enable:
@@ -37,9 +48,3 @@ linters:
3748
formatters:
3849
enable:
3950
- goimports
40-
41-
issues:
42-
exclude-use-default: false
43-
exclude:
44-
- ST1003
45-
- ST1000

0 commit comments

Comments
 (0)