File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ linters-settings :
2
+ govet :
3
+ check-shadowing : true
4
+ goimports :
5
+ # put imports beginning with prefix after 3rd-party packages;
6
+ # it's a comma-separated list of prefixes
7
+ local-prefixes : github.com/trussworks/find-guardduty-user
8
+
9
+ linters :
10
+ enable :
11
+ - deadcode
12
+ - errcheck
13
+ - gofmt
14
+ - goimports
15
+ - golint
16
+ - gosec
17
+ - govet
18
+ - ineffassign
19
+ - staticcheck
20
+ - structcheck
21
+ - typecheck
22
+ - varcheck
23
+ disable :
24
+ - gosimple # deprecated https://github.com/golangci/golangci-lint/issues/357
25
+ - unused # deprecated https://github.com/dominikh/go-tools/tree/master/cmd/unused
26
+ fast : false
27
+
28
+ issues :
29
+ # golangci-lint excludes by default some checks they consider "annoying"
30
+ # A better practice is for each repo to choose which ones to disable
31
+ exclude-use-default : false
32
+ fix : true
33
+
34
+ run :
35
+ modules-download-mode : readonly
You can’t perform that action at this time.
0 commit comments