.golangci.yml 419 B

12345678910111213141516171819202122232425262728
  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 45
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 200
  12. goconst:
  13. min-len: 2
  14. min-occurrences: 2
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - unparam
  20. - lll
  21. - gochecknoinits
  22. - gochecknoglobals
  23. - funlen
  24. - godox
  25. - gocognit
  26. - whitespace
  27. - wsl