.golangci-soft.yml 682 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. run:
  2. tests: false
  3. issues:
  4. include:
  5. - EXC0001
  6. - EXC0005
  7. - EXC0011
  8. - EXC0012
  9. - EXC0013
  10. max-issues-per-linter: 0
  11. max-same-issues: 0
  12. linters:
  13. enable:
  14. # - dupl
  15. - exhaustive
  16. # - exhaustivestruct
  17. - goconst
  18. - godot
  19. - godox
  20. - gomnd
  21. - gomoddirectives
  22. - goprintffuncname
  23. # - lll
  24. - misspell
  25. - nakedret
  26. - nestif
  27. - noctx
  28. - nolintlint
  29. - prealloc
  30. - wrapcheck
  31. # disable default linters, they are already enabled in .golangci.yml
  32. disable:
  33. - deadcode
  34. - errcheck
  35. - gosimple
  36. - govet
  37. - ineffassign
  38. - staticcheck
  39. - structcheck
  40. - typecheck
  41. - unused
  42. - varcheck