Skip to content

Commit

Permalink
Attempt to handle the shareable config in CC
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Jan 6, 2018
1 parent 816df8e commit 709c05e
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .codeclimate.yml
@@ -1,3 +1,10 @@
prepare:
fetch:
# WORKAROUND: CodeClimate doesn't support ESLint custom config: let's fetch it manually!
# https://codeclimate.com/changelog/582495c32c33066f1b00191d
# https://github.com/codeclimate/codeclimate/issues/480
- url: 'https://raw.githubusercontent.com/chartjs/eslint-config-chartjs/master/.eslintrc.yml'
patch: '.eslintrc.yml'
engines:
duplication:
enabled: true
Expand All @@ -6,20 +13,20 @@ engines:
- javascript
eslint:
enabled: true
channel: "eslint-4"
channel: 'eslint-4'
fixme:
enabled: true
ratings:
paths:
- "src/**/*.js"
- 'src/**/*.js'
exclude_paths:
- '.github/'
- 'dist/'
- 'test/'
- 'docs/'
- 'samples/'
- 'scripts/'
- '**.md'
- '**.json'
- 'gulpfile.js'
- 'karma.conf.js'
- '.github/'
- 'dist/'
- 'test/'
- 'docs/'
- 'samples/'
- 'scripts/'
- '**.md'
- '**.json'
- 'gulpfile.js'
- 'karma.conf.js'

0 comments on commit 709c05e

Please sign in to comment.