Skip to content

Commit

Permalink
Disable CodeClimate ESLint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrunel committed Jan 6, 2018
1 parent f53728e commit bbd8cac
Showing 1 changed file with 13 additions and 26 deletions.
39 changes: 13 additions & 26 deletions .codeclimate.yml
@@ -1,32 +1,19 @@
prepare:
fetch:
# WORKAROUND: CodeClimate doesn't support (custom) shareable ESLint config so let's fetch
# our dedicated one that only enables relevant rules (ie. complexity, max-statements, etc.)
# https://github.com/codeclimate/codeclimate/issues/480
- url: 'https://raw.githubusercontent.com/chartjs/eslint-config-chartjs/master/.eslintrc.cc.yml'
path: '.eslintrc.yml'
engines:
version: "2"
plugins:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
channel: 'eslint-4'
- javascript
fixme:
enabled: true
ratings:
paths:
- 'src/**/*.js'
exclude_paths:
- '.github/'
- 'dist/'
- 'test/'
- 'docs/'
- 'samples/'
- 'scripts/'
- '**.md'
- '**.json'
- 'gulpfile.js'
- 'karma.conf.js'
exclude_patterns:
- "dist/"
- "docs/"
- "samples/"
- "scripts/"
- "test/"
- "*.js"
- "*.json"
- "*.md"
- ".*"

0 comments on commit bbd8cac

Please sign in to comment.