Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ engines:
config:
languages:
- javascript
exclude_paths:
- "samples/samples.js"
eslint:
enabled: true
channel: "eslint-3"
Expand All @@ -15,7 +13,13 @@ ratings:
paths:
- "src/**/*.js"
exclude_paths:
- dist/**/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's safer to keep dist/ since this folder is pushed in tags - in case we want CC score for releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

- node_modules/**/*
- test/**/*
- coverage/**/*
- '.github/'
- 'dist/'
- 'test/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd make sense to run code climate on the test code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change isn't removing scores for tests on codeclimate, as they were never scored before (Lines 13-14). This is just removing them from showing up on codeclimate without any score.

As far as running codeclimate on the tests, I think it would just add a whole host of problems that we can't do anything about because tests have a very repetitive structure.

- 'docs/'
- 'samples/'
- 'scripts/'
- '**.md'
- '**.json'
- 'gulpfile.js'
- 'karma.conf.js'