File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ linters-settings:
1818 min-occurrences : 5
1919 ignore-tests : true
2020
21+ gosec :
22+ excludes :
23+ - G107 # Potential HTTP request made with variable url
24+ - G204 # Subprocess launched with function call as argument or cmd arguments
25+ - G404 # Use of weak random number generator (math/rand instead of crypto/rand
26+
2127 errorlint :
2228 # these are still common in Go: for instance, exit errors.
2329 asserts : false
@@ -108,6 +114,8 @@ linters:
108114 - gocritic
109115 - godot
110116 - gofmt
117+ - gofumpt
118+ - gosec
111119 - goheader
112120 - goimports
113121 - goprintffuncname
@@ -158,8 +166,6 @@ linters:
158166 # - maligned
159167 # - prealloc "For most programs usage of prealloc will be a premature optimization."
160168 # Disabled linters due to bad error messages or bugs
161- # - gofumpt
162- # - gosec
163169 # - tagliatelle
164170
165171issues :
You can’t perform that action at this time.
0 commit comments