.golangci.yml 794 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. gocyclo:
  5. min-complexity: 30
  6. maligned:
  7. suggest-new: true
  8. dupl:
  9. threshold: 100
  10. goconst:
  11. min-len: 2
  12. min-occurrences: 4
  13. paralleltest:
  14. ignore-missing: true
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - lll
  20. - gochecknoglobals
  21. - godox
  22. - gocognit
  23. - whitespace
  24. - wsl
  25. - funlen
  26. - gochecknoglobals
  27. - gochecknoinits
  28. - scopelint
  29. - wrapcheck
  30. - exhaustivestruct
  31. - exhaustive
  32. - nlreturn
  33. - testpackage
  34. - gci
  35. - gofumpt
  36. - goerr113
  37. - gomnd
  38. - tparallel
  39. - nestif
  40. - godot
  41. - errorlint
  42. - varcheck
  43. - interfacer
  44. - deadcode
  45. - golint
  46. - ifshort
  47. - structcheck
  48. - nosnakecase
  49. - varnamelen
  50. - exhaustruct