diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 00000000..a31c8ff3 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,10 @@ +engines: + eslint: + enabled: true + scss-lint: + enabled: true +ratings: + paths: + - client/src/** +exclude_paths: +- "client/dist/**" diff --git a/README.md b/README.md index 45f254a8..1b3f4bac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ## SilverStripe CMS [![Build Status](https://secure.travis-ci.org/silverstripe/silverstripe-cms.png?branch=3.1)](http://travis-ci.org/silverstripe/silverstripe-cms) +[![Code Climate](https://codeclimate.com/github/silverstripe/silverstripe-cms/badges/gpa.svg)](https://codeclimate.com/github/silverstripe/silverstripe-cms) PHP5 Content Management System (CMS), see [http://silverstripe.org](http://silverstripe.org). Requires the [`framework`](http://github.com/silverstripe/silverstripe-framework) module and a [`silverstripe-installer`](http://github.com/silverstripe/silverstripe-installer) base project.