.golangci.yml 952 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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: 2
  14. min-occurrences: 3
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - unparam
  20. - lll
  21. - gochecknoinits
  22. - gochecknoglobals
  23. - funlen
  24. - godox
  25. - gocognit
  26. - whitespace
  27. - wsl
  28. - wrapcheck
  29. - testpackage
  30. - nlreturn
  31. - gomnd
  32. - exhaustivestruct
  33. - goerr113
  34. - errorlint
  35. - nestif
  36. - godot
  37. - gofumpt
  38. - paralleltest
  39. - tparallel
  40. - thelper
  41. - ifshort
  42. - exhaustruct
  43. - varnamelen
  44. - gci
  45. - depguard
  46. - errchkjson
  47. - inamedparam
  48. - nonamedreturns
  49. - musttag
  50. - ireturn
  51. - forcetypeassert
  52. - cyclop
  53. # deprecated linters
  54. - deadcode
  55. - interfacer
  56. - scopelint
  57. - varcheck
  58. - structcheck
  59. - golint
  60. - nosnakecase