-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.golangci.yaml
41 lines (41 loc) · 936 Bytes
/
.golangci.yaml
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
run:
timeout: 5m
tests: false
linters:
enable-all: true
disable:
- cyclop
- wsl
- godox
- gochecknoglobals
- ireturn
- nlreturn
- testpackage
- paralleltest
- exhaustruct
- gocognit
- gochecknoinits
- gocyclo
- funlen
- maintidx
- musttag
- wrapcheck
linters-settings:
depguard:
rules:
main:
files:
- $all
- "!$test"
allow:
- $gostd
- "github.com/gatewayd-io/gatewayd/api/v1"
- "github.com/gatewayd-io/gatewayd-plugin-sdk"
- "github.com/gatewayd-io/gatewayd-plugin-cache"
- "github.com/prometheus/client_golang"
- "github.com/hashicorp/go-plugin"
- "github.com/hashicorp/go-hclog"
- "github.com/go-redis/redis/v8"
- "github.com/getsentry/sentry-go"
- "github.com/spf13/cast"
- "github.com/go-co-op/gocron"