Added CodeClimate integration (#5443)

This commit is contained in:
Ingo Schommer 2016-05-04 19:48:11 +12:00
parent 11a9be6cf3
commit 2ecd73d303
2 changed files with 26 additions and 10 deletions

15
.codeclimate.yml Normal file
View File

@ -0,0 +1,15 @@
engines:
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
ratings:
paths:
- client/src/**
- admin/client/src/**
exclude_paths:
- "client/dist/**"
- "admin/client/dist/**"

View File

@ -1,6 +1,7 @@
## SilverStripe Framework
[![Build Status](https://api.travis-ci.org/silverstripe/silverstripe-framework.svg?branch=master)](https://travis-ci.org/silverstripe/silverstripe-framework)
[![Code Climate](https://codeclimate.com/github/silverstripe/silverstripe-framework/badges/gpa.svg)](https://codeclimate.com/github/silverstripe/silverstripe-framework)
[![Latest Stable Version](https://poser.pugx.org/silverstripe/framework/version.svg)](http://www.silverstripe.org/stable-download/)
[![Latest Unstable Version](https://poser.pugx.org/silverstripe/framework/v/unstable.svg)](https://packagist.org/packages/silverstripe/framework)
[![Total Downloads](https://poser.pugx.org/silverstripe/framework/downloads.svg)](https://packagist.org/packages/silverstripe/framework)