github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/.golangci.json (about) 1 { 2 "run": { 3 "concurrency": 4, 4 "timeout": "20m", 5 "build-tags": [ 6 "V7" 7 ], 8 "skip-dirs": [ 9 "^cf", 10 "^ci", 11 "^doc", 12 "^fixtures", 13 "^i18n", 14 "^plugin", 15 "^vendor", 16 "^actor/cfnetworkingaction", 17 "^actor/pluginaction", 18 "^actor/pushaction", 19 "^actor/v2.*", 20 "^actor/v3.*", 21 "^api/cloudcontroller/ccv2", 22 "^api/plugin", 23 "^api/router", 24 "^command/plugin", 25 "^command/v6", 26 "^integration/assets", 27 "^integration/v6", 28 "^util/generic", 29 "^util/manifest", 30 ".*fake.*" 31 ], 32 "skip-files": [ 33 "command/v7/shared/noaa_debug_printer.go", 34 "integration/helpers/fake_server.go" 35 ] 36 }, 37 "linters": { 38 "enable-all": true, 39 "disable": [ 40 "dupl", 41 "funlen", 42 "gochecknoglobals", 43 "gocognit", 44 "gocyclo", 45 "godox", 46 "gofmt", 47 "golint", 48 "gosec", 49 "gosimple", 50 "lll", 51 "maligned", 52 "misspell", 53 "nakedret", 54 "prealloc", 55 "scopelint", 56 "staticcheck", 57 "stylecheck", 58 "unparam", 59 "whitespace", 60 "wsl" 61 ] 62 }, 63 "linters-settings": { 64 "errcheck": { 65 "check-blank": true 66 }, 67 "goconst": { 68 "min-len": "2", 69 "min-occurrences": 3 70 }, 71 "misspell": { 72 "locale": "US" 73 } 74 }, 75 "issues": { 76 "max-same-issue": 0, 77 "exclude": [ 78 "Error return value of `client.GetApplicationTasks` is not checked", 79 "Error return value of `logger.output.Stop` is not checked", 80 "Error return value of `request.ResetBody` is not checked", 81 "Error return value of `GinkgoWriter.Write` is not checked", 82 "Error return value of `c.terminalHelper.RestoreTerminal` is not checked", 83 "U1000: field `allproxy` is unused", 84 "U1000: field `dockerPassword` is unused", 85 "U1000: field `envCFStagingTimeout` is unused", 86 "U1000: field `envCFStartupTimeout` is unused", 87 "U1000: field `relatedCommands` is unused", 88 "U1000: field `usage` is unused", 89 "`allproxy` is unused", 90 "`dockerPassword` is unused", 91 "`envCFStagingTimeout` is unused", 92 "`envCFStartupTimeout` is unused", 93 "`relatedCommands` is unused", 94 "`usage` is unused" 95 ], 96 "exclude-rules": [ 97 { 98 "path": "_test.go", 99 "linters": [ 100 "goconst" 101 ] 102 } 103 ] 104 } 105 }