-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.golangci.yml
43 lines (40 loc) · 905 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
linters:
enable-all: true
disable:
# deprecated
- exportloopref
# unused
- exhaustruct
- exhaustive
- dupl
- nlreturn
- tagliatelle
- cyclop
- testpackage
issues:
max-issues-per-linter: 0
max-same-issues: 0
output:
sort-results: true
run:
timeout: 3m
linters-settings:
depguard:
rules:
main:
files:
- $all
allow:
- $gostd
- github.com/Unpackerr/unpackerr
- github.com/lestrrat-go/apache-logformat
- github.com/gen2brain/dlgs
- github.com/getlantern/systray
- github.com/hako/durafmt
- github.com/mitchellh/go-homedir
- github.com/fsnotify/fsnotify
- github.com/radovskyb/watcher
- github.com/prometheus/client_golang/
- github.com/spf13/pflag
- github.com/julienschmidt/httprouter
- github.com/BurntSushi/toml