.golangci.yml 640 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 30
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 100
  12. goconst:
  13. min-len: 2
  14. min-occurrences: 4
  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