.golangci.yml 331 B

12345678910111213141516171819202122
  1. linters:
  2. fast: true
  3. enable:
  4. - golint
  5. - govet
  6. - gosimple
  7. - goconst
  8. - goimports
  9. - staticcheck
  10. disable:
  11. - errcheck
  12. issues:
  13. exclude-rules:
  14. - path: _test\.go
  15. linters:
  16. - goconst
  17. # False positives on CGO generated code
  18. - linters:
  19. - staticcheck
  20. text: "SA4000:"