.golangci.yml 783 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. version: "2"
  2. linters:
  3. default: none
  4. enable:
  5. - bodyclose
  6. - dogsled
  7. - dupl
  8. - errcheck
  9. - exhaustive
  10. - gochecknoinits
  11. - goconst
  12. - gocritic
  13. - gocyclo
  14. - goprintffuncname
  15. - gosec
  16. - govet
  17. - ineffassign
  18. - lll
  19. - misspell
  20. - nakedret
  21. - noctx
  22. - nolintlint
  23. - rowserrcheck
  24. - staticcheck
  25. - unconvert
  26. - unparam
  27. - unused
  28. - whitespace
  29. exclusions:
  30. generated: lax
  31. presets:
  32. - comments
  33. - common-false-positives
  34. - legacy
  35. - std-error-handling
  36. paths:
  37. - third_party$
  38. - builtin$
  39. - examples$
  40. formatters:
  41. enable:
  42. - gofmt
  43. - gofumpt
  44. - goimports
  45. exclusions:
  46. generated: lax
  47. paths:
  48. - third_party$
  49. - builtin$
  50. - examples$