.golangci.yml 695 B

12345678910111213141516171819202122232425262728293031323334353637
  1. linters:
  2. run:
  3. concurrency: 2
  4. enable-all: false
  5. disable-all: true
  6. enable:
  7. - deadcode
  8. - errcheck
  9. - gocyclo
  10. - gofmt
  11. - goimports
  12. - golint
  13. - gosimple
  14. - govet
  15. - ineffassign
  16. - interfacer
  17. - lll
  18. - misspell
  19. - nakedret
  20. - staticcheck
  21. - structcheck
  22. - typecheck
  23. - unconvert
  24. - unparam
  25. - unused
  26. - varcheck
  27. linters-settings:
  28. gocyclo:
  29. min-complexity: 16
  30. lll:
  31. line-length: 200
  32. issues:
  33. # golangci hides some golint warnings (the warning about exported things
  34. # withtout documentation for example), this will make it show them anyway.
  35. exclude-use-default: false
  36. exclude:
  37. - should not use dot imports