.golangci.yml 404 B

123456789101112131415161718192021222324252627282930
  1. run:
  2. deadline: 5m
  3. linters:
  4. disable-all: true
  5. enable:
  6. - dupl
  7. - goconst
  8. - gocyclo
  9. - gofmt
  10. - golint
  11. - govet
  12. - ineffassign
  13. - interfacer
  14. - lll
  15. - misspell
  16. - nakedret
  17. - structcheck
  18. - unparam
  19. - varcheck
  20. linters-settings:
  21. dupl:
  22. threshold: 400
  23. lll:
  24. line-length: 170
  25. gocyclo:
  26. min-complexity: 15
  27. golint:
  28. min-confidence: 0.85