-
Notifications
You must be signed in to change notification settings - Fork 170
/
.golangci.yml
48 lines (46 loc) · 918 Bytes
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
run:
timeout: 5m
linters:
disable-all: true
enable:
- gofmt
- unused
- gosimple
- exportloopref
- gocritic
- gosec
- errcheck
- goimports
- revive
- staticcheck
- vet
- stylecheck
- unconvert
- ineffassign
linters-settings:
goimports:
local-prefixes: github.com/hatchet-dev/hatchet
staticcheck:
checks:
- all
- "-ST1003"
- "-SA4006"
- "-SA1029"
stylecheck:
checks:
- all
- "-ST1003"
- "-SA4006"
- "-ST1016"
- "-ST1005"
issues:
exclude-files:
- "pkg/repository/prisma/db/db_gen.go"
exclude:
- "by other packages, and that stutters; consider calling this"
- "var-naming:"
- "receiver-naming:"
- "unexported-return:"
- "unused-parameter: parameter"
- "context-keys-type: should not use basic type string"
- "error strings should not be capitalized"