File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ output :
3+ sort-results : true
4+
5+ issues :
6+ max-issues-per-linter : 0
7+ max-same-issues : 0
8+
9+ run :
10+ concurrency : 0
11+ timeout : 5m
12+ issues-exit-code : 2
13+ tests : true
14+ modules-download-mode : readonly
15+ allow-parallel-runners : true
16+ allow-serial-runners : true
17+
18+ linters :
19+ disable-all : false
20+ enable-all : true
21+ disable :
22+ # Opting-out
23+ - nonamedreturns # named returns are occasionally useful
24+ - exhaustruct # does not serve much of a purpose
25+ - funlen # not interested
26+ - cyclop # not interested much
27+ - godox # having these are useful
28+ # Duplicating
29+ - gci # we use go-imports instead
30+ # Deprecated
31+ - tenv
32+ # TODO: Temporarily out until we wrap up all of them
33+ # - wrapcheck
34+
35+ linters-settings :
36+ staticcheck :
37+ checks :
38+ - " all"
39+
40+ depguard :
41+ rules :
42+ main :
43+ files :
44+ - " $all"
45+ allow :
46+ - $gostd
47+ - " github.com/containerd/nerdctl/mod/tigron"
48+ # WATCHOUT! https://github.com/OpenPeeDeeP/depguard/issues/108
49+ # Currently, depguard will fail detecting any dependency starting with a standard package name as third-party.
50+ # Thus, the following three are allowed provisionally, though currently not "necessary".
51+ - " golang.org/x/sync"
52+ - " golang.org/x/term"
53+ - " gotest.tools"
54+ - " github.com/creack/pty"
Original file line number Diff line number Diff line change 1+ ---
2+
3+ extends: default
4+
5+ rules:
6+ indentation:
7+ spaces: 2
8+ indent-sequences: consistent
9+ truthy:
10+ allowed-values: ['true', 'false', 'on', 'off']
11+ comments-indentation: disable
12+ document-start: disable
13+ line-length: disable
You can’t perform that action at this time.
0 commit comments