.golangci.yml 833 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 25
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 100
  12. goconst:
  13. min-len: 3
  14. min-occurrences: 2
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - lll
  20. - gochecknoinits
  21. - gochecknoglobals
  22. - nlreturn
  23. - testpackage
  24. - wrapcheck
  25. - gomnd
  26. - exhaustive
  27. - exhaustivestruct
  28. - goerr113
  29. - wsl
  30. - whitespace
  31. - gofumpt
  32. - godot
  33. - nestif
  34. - godox
  35. - funlen
  36. - gci
  37. - gocognit
  38. - paralleltest
  39. - thelper
  40. - ifshort
  41. - gomoddirectives
  42. - cyclop
  43. - forcetypeassert
  44. - ireturn
  45. - tagliatelle
  46. - varnamelen
  47. - goimports
  48. - tenv
  49. - golint
  50. - exhaustruct
  51. - nilnil
  52. - nonamedreturns
  53. - nosnakecase