.golangci.yml 938 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 45
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 200
  12. goconst:
  13. min-len: 3
  14. min-occurrences: 3
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - lll
  20. - gochecknoinits
  21. - gochecknoglobals
  22. - funlen
  23. - godox
  24. - gocognit
  25. - whitespace
  26. - wsl
  27. - wrapcheck
  28. - testpackage
  29. - nlreturn
  30. - gomnd
  31. - exhaustivestruct
  32. - goerr113
  33. - errorlint
  34. - nestif
  35. - godot
  36. - gofumpt
  37. - paralleltest
  38. - tparallel
  39. - thelper
  40. - ifshort
  41. - exhaustruct
  42. - varnamelen
  43. - gci
  44. - depguard
  45. - errchkjson
  46. - inamedparam
  47. - nonamedreturns
  48. - musttag
  49. - ireturn
  50. - forcetypeassert
  51. - cyclop
  52. # deprecated linters
  53. - deadcode
  54. - interfacer
  55. - scopelint
  56. - varcheck
  57. - structcheck
  58. - golint
  59. - nosnakecase