File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,20 @@ linters-settings:
88 staticcheck :
99 checks :
1010 - all
11- - ' -SA1019' # it is okay to use math/rand at times
11+ - ' -SA1019' # it is okay to use math/rand at times.
12+ gosec :
13+ excludes : # these are not relevant for us right now
14+ - G114
15+ - G204
16+ - G306
17+ - G404
1218
1319linters :
1420 disable-all : true
1521 enable :
1622 - errcheck
1723 - ineffassign
18- # - gas
24+ - gosec
1925 - gofmt
2026 - gosimple
2127 - govet
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ package main
1919import (
2020 "fmt"
2121 "net/http"
22- _ "net/http/pprof"
22+ _ "net/http/pprof" //nolint:gosec
2323 "runtime"
2424
2525 "github.com/dustin/go-humanize"
Original file line number Diff line number Diff line change 66 "log"
77 "math/rand"
88 "net/http"
9- _ "net/http/pprof"
9+ _ "net/http/pprof" //nolint:gosec
1010 "os"
1111 "sync"
1212 "sync/atomic"
You can’t perform that action at this time.
0 commit comments