.golangci.yaml raw

   1  
   2  linters:
   3    enable-all: true
   4    disable:
   5      - exportloopref
   6      - stylecheck
   7      - gosec
   8      - dupl
   9      - depguard
  10      - lll
  11      - prealloc
  12      - varnamelen
  13      - exhaustive
  14      - exhaustruct
  15      - paralleltest
  16      - testpackage
  17      - mnd
  18  
  19  linters-settings:
  20    gocyclo:
  21      min-complexity: 25
  22    misspell:
  23      locale: "US"
  24    tagliatelle:
  25      case:
  26        rules:
  27          "json": "snake"
  28  
  29  issues:
  30    exclude-rules:
  31      - path: (.*)_test.go
  32        linters:
  33          - gochecknoglobals
  34          - funlen
  35          - cyclop
  36  
  37  output:
  38    show-stats: true
  39    sort-results: true
  40    sort-order:
  41      - linter
  42      - file
  43