-
Notifications
You must be signed in to change notification settings - Fork 12k
Update codeclimate.yml #4654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update codeclimate.yml #4654
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,8 +4,6 @@ engines: | |
| config: | ||
| languages: | ||
| - javascript | ||
| exclude_paths: | ||
| - "samples/samples.js" | ||
| eslint: | ||
| enabled: true | ||
| channel: "eslint-3" | ||
|
|
@@ -15,7 +13,13 @@ ratings: | |
| paths: | ||
| - "src/**/*.js" | ||
| exclude_paths: | ||
| - dist/**/* | ||
| - node_modules/**/* | ||
| - test/**/* | ||
| - coverage/**/* | ||
| - '.github/' | ||
| - 'dist/' | ||
| - 'test/' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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' | ||
There was a problem hiding this comment.
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.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated