.golangci.yml 834 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. run:
  2. skip-dirs:
  3. - external
  4. skip-files:
  5. - generated.*
  6. issues:
  7. new: true
  8. exclude-rules:
  9. - path: _test\.go
  10. linters:
  11. - gocyclo
  12. - errcheck
  13. - dupl
  14. - gosec
  15. - goconst
  16. - funlen
  17. - lll
  18. linters:
  19. enable:
  20. - bodyclose
  21. - deadcode
  22. - depguard
  23. - dogsled
  24. - dupl
  25. - errcheck
  26. - exhaustive
  27. - funlen
  28. - goconst
  29. - gocritic
  30. - gocyclo
  31. - gofmt
  32. - goimports
  33. - golint
  34. - gomnd
  35. - goprintffuncname
  36. - gosec
  37. - gosimple
  38. - govet
  39. - ineffassign
  40. - interfacer
  41. - lll
  42. - misspell
  43. - nakedret
  44. - noctx
  45. - nolintlint
  46. - rowserrcheck
  47. - scopelint
  48. - staticcheck
  49. - structcheck
  50. - stylecheck
  51. - typecheck
  52. - unconvert
  53. - unparam
  54. - unused
  55. - varcheck
  56. - whitespace