.golangci.yml 420 B

12345678910111213141516171819202122232425
  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. - unused
  12. - errcheck
  13. - gosimple
  14. - govet
  15. - ineffassign
  16. - staticcheck
  17. - typecheck
  18. - nakedret
  19. - gofmt
  20. - rowserrcheck
  21. - unconvert
  22. - goimports
  23. - unparam