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.

51 lines
1.0 KiB

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