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.

47 lines
980 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. - stylecheck
  16. # linters-settings:
  17. # govet:
  18. # check-shadowing: true
  19. # golint:
  20. # min-confidence: 0
  21. # gocyclo:
  22. # min-complexity: 10
  23. # maligned:
  24. # suggest-new: true
  25. # dupl:
  26. # threshold: 100
  27. # depguard:
  28. # list-type: blacklist
  29. # packages:
  30. # # logging is allowed only by logutils.Log, logrus
  31. # # is allowed to use only in logutils package
  32. # - github.com/sirupsen/logrus
  33. # misspell:
  34. # locale: US
  35. # lll:
  36. # line-length: 140
  37. # goimports:
  38. # local-prefixes: github.com/golangci/golangci-lint
  39. # gocritic:
  40. # enabled-tags:
  41. # - performance
  42. # - style
  43. # - experimental
  44. # disabled-checks:
  45. # - wrapperFunc
  46. # - commentFormatting # https://github.com/go-critic/go-critic/issues/755