-
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
Conversation
simonbrunel
left a comment
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.
Good catch by removing useless file from the CC reports.
| paths: | ||
| - "src/**/*.js" | ||
| exclude_paths: | ||
| - dist/**/* |
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
| - coverage/**/* | ||
| - '.github/' | ||
| - 'dist/' | ||
| - 'test/' |
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'd make sense to run code climate on the test code
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.
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.
* Update codeclimate.yml * Update .codeclimate.yml
* Update codeclimate.yml * Update .codeclimate.yml
* Update codeclimate.yml * Update .codeclimate.yml
Updates codeclimate to only include files that are actually being scored. Currently there are many files that do not contribute to the overall score (such as markdown docs) but they add clutter to the codeclimate interface. This change removes those documents from showing up on codeclimate.