代码之家  ›  专栏  ›  技术社区  ›  american-ninja-warrior

为什么Codeclimate无法显示gpa?

  •  0
  • american-ninja-warrior  · 技术社区  · 7 年前

    代码气候差距徽章显示为问号/未知的可能原因是什么?

    enter image description here

    其他徽章也在发挥作用,但我可以看到很多问题, 和%LoC覆盖的徽章。

    这是我的。气候。yml文件

    engines:
      rubocop:
        enabled: true
      eslint:
        enabled: true
      csslint:
        enabled: true
      duplication:
        enabled: true
        config:
          languages:
          - ruby:
          - javascript:
    exclude_paths:
    - "test/"
    - "coverage/"
    - "doc/"
    - "bin/"
    
    1 回复  |  直到 7 年前
        1
  •  0
  •   Rada Bogdan    7 年前

    ratings:
      paths:
      - Gemfile.lock
      - "**.css"
      - "**.js"
      - "**.jsx"
      - "**.rb"
    

    您可以在此处了解更多信息: https://docs.codeclimate.com/v1.0/docs/ratings

    您还需要确保文件具有UTF-8编码。