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.

59 lines
1.1 KiB

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