.golangci.yml 490 B

1234567891011121314151617181920212223242526272829303132
  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: # these are not relevant for us right now
  13. - G114
  14. - G204
  15. - G306
  16. - G404
  17. linters:
  18. disable-all: true
  19. enable:
  20. - errcheck
  21. - gofmt
  22. - goimports
  23. - gosec
  24. - gosimple
  25. - govet
  26. - ineffassign
  27. - lll
  28. - staticcheck
  29. - unconvert
  30. - unused