.golangci-soft.yml 696 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. - ifshort
  24. # - lll
  25. - misspell
  26. - nakedret
  27. - nestif
  28. - noctx
  29. - nolintlint
  30. - prealloc
  31. - wrapcheck
  32. # disable default linters, they are already enabled in .golangci.yml
  33. disable:
  34. - deadcode
  35. - errcheck
  36. - gosimple
  37. - govet
  38. - ineffassign
  39. - staticcheck
  40. - structcheck
  41. - typecheck
  42. - unused
  43. - varcheck