2017-07-18 69 views
0

代碼氣候差異徽章會顯示爲問號/未知的可能原因是什麼?然而Codeclimate爲什麼無法顯示gpa?

enter image description here

其他徽章的工作,我能看到的問題, 和控制線%覆蓋徽章數量。

這是我的.codeclimate.yml文件

engines: 
    rubocop: 
    enabled: true 
    eslint: 
    enabled: true 
    csslint: 
    enabled: true 
    duplication: 
    enabled: true 
    config: 
     languages: 
     - ruby: 
     - javascript: 
exclude_paths: 
- "test/" 
- "coverage/" 
- "doc/" 
- "bin/" 
+0

可以發佈.codeclimate文件嗎? –

+0

更新問題withy .codeclimate文件 –

回答

0

在想你是從你的.codeclimate文件中缺少這樣的:

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

您可以在這裏更多的瞭解它:https://docs.codeclimate.com/v1.0/docs/ratings

您還需要確保您的文件具有UTF-8編碼。

相關問題