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 38a8711
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .codeclimate.yml
@@ -1,3 +1,12 @@
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'
path: 'node_modules/eslint-config-chartjs/.eslintrc.yml'
- url: 'https://raw.githubusercontent.com/chartjs/eslint-config-chartjs/master/package.json'
path: 'node_modules/eslint-config-chartjs/package.json'
engines:
duplication:
enabled: true
Expand All @@ -6,20 +15,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 38a8711

Please sign in to comment.