github.com/vnforks/kid/v5@v5.22.1-0.20200408055009-b89d99c65676/.golangci.yml (about) 1 run: 2 timeout: 5m 3 modules-download-mode: vendor 4 skip-dirs: 5 - store/storetest/mocks 6 7 linters-settings: 8 gofmt: 9 simplify: true 10 govet: 11 check-shadowing: true 12 enable-all: true 13 14 linters: 15 disable-all: true 16 enable: 17 - deadcode 18 - gofmt 19 - golint 20 - gosimple 21 - govet 22 - ineffassign 23 - scopelint 24 - structcheck 25 - unconvert 26 - unused 27 - varcheck 28 # TODO: enable this later 29 # - errcheck 30 31 issues: 32 exclude-rules: 33 - linters: 34 # ignore unused warnings from enterprise code 35 # add more as required. 36 - unused 37 text: "RedisSupplier|LocalCacheSupplier|Enterprise" 38 39 - linters: 40 - scopelint 41 # ignore warnings from table tests. https://github.com/kyoh86/scopelint/issues/4 42 path: ".*_test.go|store/storetest" 43 44 - linters: 45 # ignore golint error for a lot of packages for now 46 - golint 47 path: "api4|app|cmd|einterface|enterprise|jobs|migrations|mlog|model|testlib|services|store|utils|web|wsapi|plugin/plugintest/api.go|plugin/api.go|plugin/context.go|plugin/client.go|plugin/client_rpc.go|plugin/client_rpc_generated.go|plugin/api_timer_layer_generated.go|plugin/hooks_timer_layer_generated|plugin/environment.go|plugin/health_check.go|plugin/hooks.go|plugin/supervisor.go|plugin/valid.go"