Skip to content

dotnet tool to convert resharper inspectcode reports to codeclimate format

License

Notifications You must be signed in to change notification settings

moly/resharper-to-codeclimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resharper-to-codeclimate

converts an xml file containing resharper inspectcode results to a json file that follows the code climate spec.

note, currently only converts to the subset of the code climate spec required for gitlab-ci.

usage

dotnet tool install -g resharper-to-codeclimate
resharper-to-codeclimate results.xml results.json

example .gitlab-ci.yml

variables:
  DOTNET_PACKAGES: '$CI_PROJECT_DIR\.nuget\packages'
  DOTNET_CLI_HOME: '$CI_PROJECT_DIR\.dotnet'
  DOTNET_NOLOGO: 'true'

codequality:
  stage: codequality
  script:
    - dotnet tools restore
    - jb inspectcode Project.sln -o=results.xml
    - resharper-to-codeclimate results.xml results.json
  cache:
    key:
      files: 
        - .config/dotnet-tools.json
    paths:
      - .nuget/
  artifacts:
    when: always
    reports:
      codequality:
        - results.json

About

dotnet tool to convert resharper inspectcode reports to codeclimate format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages