.golangci.yml 506 B

123456789101112131415161718192021222324252627282930
  1. run:
  2. skip-dirs:
  3. skip-files:
  4. linters-settings:
  5. lll:
  6. line-length: 120
  7. staticcheck:
  8. checks:
  9. - all
  10. - '-SA1019' # it is okay to use math/rand at times.
  11. gosec:
  12. excludes:
  13. - G404 # it is okay to use math/rand at times.
  14. - G115 # presents false positives for conversion
  15. linters:
  16. disable-all: true
  17. enable:
  18. - errcheck
  19. - gofmt
  20. - goimports
  21. - gosec
  22. - gosimple
  23. - govet
  24. - ineffassign
  25. - lll
  26. - staticcheck
  27. - unconvert
  28. - unused