1+ run :
2+ build-tags :
3+ - tasks
4+ linters-settings :
5+ goimports :
6+ local-prefixes : github.com/brevdev/dev-plane
7+ revive :
8+ # min-confidence: 0.8
9+ rules :
10+ - name : blank-imports
11+ - name : context-as-argument
12+ - name : context-as-argument
13+ - name : context-keys-type
14+ - name : dot-imports
15+ - name : error-return
16+ - name : error-strings
17+ - name : error-naming
18+ - name : if-return
19+ - name : increment-decrement
20+ - name : var-naming
21+ - name : var-declaration
22+ # - name: package-comments
23+ - name : range
24+ - name : receiver-naming
25+ - name : time-naming
26+ - name : unexported-return
27+ - name : errorf
28+ - name : empty-block
29+ - name : superfluous-else
30+ - name : unused-parameter
31+ - name : unreachable-code
32+ - name : redefines-builtin-id
33+ gocyclo :
34+ min-complexity : 15
35+ misspell :
36+ locale : US
37+ nolintlint :
38+ # allow-leading-space: false # require machine-readable nolint directives (with no leading space)
39+ allow-unused : false # report any unused nolint directives
40+ require-explanation : true # require an explanation for nolint directives
41+ require-specific : false # don't require nolint directives to be specific about which linter is being skipped
42+ funlen :
43+ lines : 100
44+ errcheck :
45+ exclude-functions :
46+ - (*encoding/json.Encoder).Encode
47+ wrapcheck :
48+ ignoreSigs :
49+ - .WrapAndTrace
50+ - .Errorf
51+ - .Wrap
52+ - .New
53+ - .ValidateStruct
54+ - .Permanent
55+ - .Decode
56+ stylecheck :
57+ checks : ["all", "-ST1020", "-ST1000", "-ST1021"]
58+
59+ linters :
60+ # please, do not use `enable-all`: it's deprecated and will be removed soon.
61+ # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
62+ disable-all : true
63+ enable :
64+ - errcheck
65+ # - gosimple # don't like
66+ - govet
67+ - ineffassign
68+ # - staticcheck # broken in collections pkg?
69+ - typecheck
70+ - bodyclose
71+ - unused
72+ # - depguard
73+ - dupl
74+ - copyloopvar
75+ - forcetypeassert
76+ - funlen
77+ # - gci # don't like
78+ - gocognit
79+ - goconst
80+ - gocritic
81+ - gocyclo
82+ # - godot # don't like
83+ - gofumpt
84+ - revive
85+ # - gomnd # don't like
86+ - goprintffuncname
87+ - gosec
88+ # - ifshort # don't like
89+ - misspell
90+ - noctx
91+ - nolintlint
92+ - rowserrcheck # broken with generics
93+ - sqlclosecheck # broken with generics
94+ - stylecheck
95+ # - thelper
96+ - tparallel
97+ - unconvert
98+ - unparam
99+ - whitespace
100+ # - errorlint
101+ # - goerr113
102+ # - wrapcheck
103+ issues :
104+ # enable issues excluded by default
105+ exclude-use-default : false
106+ exclude :
107+ - composites
108+ exclude-dirs :
109+ - internal/lambdalabs/gen
0 commit comments