code.cloudfoundry.org/cli@v7.1.0+incompatible/.golangci.json (about)

     1  {
     2    "run": {
     3      "concurrency": 4,
     4      "timeout": "20m",
     5      "skip-files": [
     6        "integration/helpers/fake_server.go"
     7      ]
     8    },
     9    "linters": {
    10      "disable-all": true,
    11      "enable": [
    12        "govet",
    13        "goimports",
    14        "errcheck",
    15        "staticcheck",
    16        "unused",
    17        "structcheck",
    18        "varcheck",
    19        "ineffassign",
    20        "deadcode"
    21      ]
    22    },
    23    "linters-settings": {},
    24    "issues": {
    25      "max-same-issue": 0,
    26      "exclude": [
    27        "Error return value of `client.GetApplicationTasks` is not checked",
    28        "Error return value of `logger.output.Stop` is not checked",
    29        "Error return value of `request.ResetBody` is not checked",
    30        "Error return value of `GinkgoWriter.Write` is not checked",
    31        "Error return value of `c.terminalHelper.RestoreTerminal` is not checked",
    32        "U1000: field `allproxy` is unused",
    33        "U1000: field `dockerPassword` is unused",
    34        "U1000: field `envCFStagingTimeout` is unused",
    35        "U1000: field `envCFStartupTimeout` is unused",
    36        "U1000: field `relatedCommands` is unused",
    37        "U1000: field `usage` is unused",
    38        "SA5008: duplicate struct tag \"choice\"",
    39        "`allproxy` is unused",
    40        "`dockerPassword` is unused",
    41        "`envCFStagingTimeout` is unused",
    42        "`envCFStartupTimeout` is unused",
    43        "`relatedCommands` is unused",
    44        "`usage` is unused"
    45      ]
    46    }
    47  }