File tree Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Expand file tree Collapse file tree 1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change 11run :
22 timeout : 10m
33
4- skip-files :
5- - " zz_generated\\ ..+\\ .go$"
6- - " .*_test.go$"
7-
8- skip-dirs :
9- - " hack"
10- - " e2e"
11- - " bin"
12-
13- skip-dirs-use-default : false
14-
15-
164output :
175 # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
18- format : colored-line-number
6+ formats : colored-line-number
197
208linters-settings :
219 errcheck :
@@ -30,7 +18,7 @@ linters-settings:
3018 # [deprecated] comma-separated list of pairs of the form pkg:regex
3119 # the regex is used to ignore names within pkg. (default "fmt:.*").
3220 # see https://github.com/kisielk/errcheck#the-deprecated-method for details
33- ignore : fmt:.*,io/ioutil:^Read.*
21+ exclude-functions : fmt:.*,io/ioutil:^Read.*
3422
3523 exhaustive :
3624 # indicates that switch statements are to be considered exhaustive if a
@@ -109,7 +97,9 @@ linters-settings:
10997
11098linters :
11199 enable :
112- - megacheck
100+ - gosimple
101+ - staticcheck
102+ - unused
113103 - govet
114104 - gocyclo
115105 - gocritic
@@ -124,6 +114,17 @@ linters:
124114
125115
126116issues :
117+ exclude-files :
118+ - " zz_generated\\ ..+\\ .go$"
119+ - " .*_test.go$"
120+
121+ exclude-dirs :
122+ - " hack"
123+ - " e2e"
124+ - " bin"
125+
126+ exclude-dirs-use-default : false
127+
127128 # Excluding configuration per-path and per-linter
128129 exclude-rules :
129130 # Exclude some linters from running on tests files.
You can’t perform that action at this time.
0 commit comments