Skip to content

Commit 74a36e5

Browse files
committed
ci: fix golangci-lint config
1 parent eb54ab3 commit 74a36e5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.golangci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
---
12
run:
2-
deadline: 5m
3+
timeout: 5m
34
allow-parallel-runners: true
45

56
issues:
@@ -19,9 +20,10 @@ issues:
1920
linters:
2021
disable-all: true
2122
enable:
23+
- copyloopvar
2224
- dupl
2325
- errcheck
24-
- exportloopref
26+
- ginkgolinter
2527
- goconst
2628
- gocyclo
2729
- gofmt
@@ -33,8 +35,14 @@ linters:
3335
- misspell
3436
- nakedret
3537
- prealloc
38+
- revive
3639
- staticcheck
3740
- typecheck
3841
- unconvert
3942
- unparam
4043
- unused
44+
45+
linters-settings:
46+
revive:
47+
rules:
48+
- name: comment-spacings

0 commit comments

Comments
 (0)