Skip to content

Commit 1341904

Browse files
Add golangci yaml file for adding timeout (#367)
1 parent 02fc8fd commit 1341904

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.golangci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
linters:
2+
disable-all: true
3+
enable:
4+
- deadcode
5+
- errcheck
6+
- gosimple
7+
- govet
8+
- ineffassign
9+
- staticcheck
10+
- structcheck
11+
- typecheck
12+
- unused
13+
- varcheck
14+
15+
run:
16+
timeout: 10m

0 commit comments

Comments
 (0)