.golangci.yml 584 B

1234567891011121314151617181920212223242526272829
  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. govet:
  10. disable:
  11. # printf: non-constant format string in call to fmt.Errorf (govet)
  12. # showing up since golangci-lint version 1.60.1
  13. - printf
  14. linters:
  15. enable:
  16. - unused
  17. - errcheck
  18. - gosimple
  19. - govet
  20. - ineffassign
  21. - staticcheck
  22. - typecheck
  23. - nakedret
  24. - gofmt
  25. - rowserrcheck
  26. - unconvert
  27. - goimports
  28. - unparam