Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f53728e
commit bbd8cac
Showing
1 changed file
with
13 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
- ".*" |