version: "2"

linters:
  default: none
  enable: [govet, staticcheck, ineffassign, gocritic]
  settings:
    staticcheck:
      checks: [all, -ST1000, -ST1003, -ST1016]
      initialisms: [
        ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID,
        IP, JSON, QPS, RAM, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP,
        UI, GID, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS, XUID,
      ]
      dot-import-whitelist: []
      http-status-code-whitelist: ["200", "400", "404", "500"]

formatters:
  enable: [gofmt]
  settings:
    gofmt:
      simplify: false
