.golangci.yml 345 B

123456789101112131415161718192021
  1. linters-settings:
  2. nakedret:
  3. max-func-lines: 0 # Disallow any unnamed return statement
  4. linters:
  5. enable:
  6. - deadcode
  7. - errcheck
  8. - gosimple
  9. - govet
  10. - ineffassign
  11. - staticcheck
  12. - structcheck
  13. - typecheck
  14. - unused
  15. - varcheck
  16. - nakedret
  17. - gofmt
  18. - rowserrcheck
  19. - unconvert
  20. - goimports