.golangci.yml 454 B

123456789101112131415161718192021222324252627
  1. linters-settings:
  2. staticcheck:
  3. checks: [
  4. "all",
  5. "-SA1019" # There are valid use cases of strings.Title
  6. ]
  7. nakedret:
  8. max-func-lines: 0 # Disallow any unnamed return statement
  9. linters:
  10. enable:
  11. - deadcode
  12. - errcheck
  13. - gosimple
  14. - govet
  15. - ineffassign
  16. - staticcheck
  17. - structcheck
  18. - typecheck
  19. - unused
  20. - varcheck
  21. - nakedret
  22. - gofmt
  23. - rowserrcheck
  24. - unconvert
  25. - goimports