本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 line
452B

  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 31
  8. maligned:
  9. suggest-new: true
  10. dupl:
  11. threshold: 100
  12. goconst:
  13. min-len: 2
  14. min-occurrences: 4
  15. linters:
  16. enable-all: true
  17. disable:
  18. - maligned
  19. - lll
  20. - gochecknoinits
  21. - gochecknoglobals
  22. issues:
  23. exclude-rules:
  24. - path: bson.go
  25. text: "should be .*ObjectID"
  26. linters:
  27. - golint
上海开阖软件有限公司 沪ICP备12045867号-1