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