.golangci.yml 681 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. run:
  2. modules-download-mode: vendor
  3. skip-dirs:
  4. - generated.*
  5. - external
  6. linters:
  7. enable:
  8. - bodyclose
  9. - deadcode
  10. - depguard
  11. - dogsled
  12. - dupl
  13. - errcheck
  14. - exhaustive
  15. - funlen
  16. - gochecknoinits
  17. - goconst
  18. - gocritic
  19. - gocyclo
  20. - gofmt
  21. - goimports
  22. - golint
  23. - gomnd
  24. - goprintffuncname
  25. - gosec
  26. - gosimple
  27. - govet
  28. - ineffassign
  29. - interfacer
  30. - lll
  31. - misspell
  32. - nakedret
  33. - noctx
  34. - nolintlint
  35. - rowserrcheck
  36. - scopelint
  37. - staticcheck
  38. - structcheck
  39. - stylecheck
  40. - typecheck
  41. - unconvert
  42. - unparam
  43. - unused
  44. - varcheck
  45. - whitespace