本站源代码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
583B

  1. linters-settings:
  2. govet:
  3. check-shadowing: true
  4. golint:
  5. min-confidence: 0
  6. gocyclo:
  7. min-complexity: 40
  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. - gochecknoglobals
  21. - gochecknoinits
  22. # scopelint is useful, but also reports false positives
  23. # that unfortunately can't be disabled. So we disable the
  24. # linter rather than changing code that works.
  25. # see: https://github.com/kyoh86/scopelint/issues/4
  26. - scopelint
上海开阖软件有限公司 沪ICP备12045867号-1