You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
996 B

  1. run:
  2. deadline: 1m
  3. linters:
  4. enable-all: true
  5. disable:
  6. - gocyclo
  7. - golint
  8. - maligned
  9. - errcheck
  10. - interfacer
  11. - unparam
  12. - lll
  13. - gochecknoglobals
  14. - gochecknoinits
  15. - scopelint
  16. - stylecheck
  17. # linters-settings:
  18. # govet:
  19. # check-shadowing: true
  20. # golint:
  21. # min-confidence: 0
  22. # gocyclo:
  23. # min-complexity: 10
  24. # maligned:
  25. # suggest-new: true
  26. # dupl:
  27. # threshold: 100
  28. # depguard:
  29. # list-type: blacklist
  30. # packages:
  31. # # logging is allowed only by logutils.Log, logrus
  32. # # is allowed to use only in logutils package
  33. # - github.com/sirupsen/logrus
  34. # misspell:
  35. # locale: US
  36. # lll:
  37. # line-length: 140
  38. # goimports:
  39. # local-prefixes: github.com/golangci/golangci-lint
  40. # gocritic:
  41. # enabled-tags:
  42. # - performance
  43. # - style
  44. # - experimental
  45. # disabled-checks:
  46. # - wrapperFunc
  47. # - commentFormatting # https://github.com/go-critic/go-critic/issues/755