Skip to content

Commit 38ba073

Browse files
authored
fix: add missing golangci-lint settings (#8)
1 parent 106ee72 commit 38ba073

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

golangci-lint/.golangci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
run:
22
timeout: 5m
33

4+
issues:
5+
exclude-rules:
6+
# False positive: https://github.com/kunwardeep/paralleltest/issues/8.
7+
- linters:
8+
- paralleltest
9+
text: "does not use range value in test Run"
10+
411
linters-settings:
512
dupl:
613
threshold: 100
@@ -76,7 +83,8 @@ linters:
7683
- forbidigo
7784
- forcetypeassert
7885
- funlen
79-
- gci
86+
# gci would need to be customized for each project in order to be useful
87+
#- gci
8088
- gochecknoglobals
8189
- gochecknoinits
8290
- gocognit

0 commit comments

Comments
 (0)