-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Hotfix/failing thin pull requests practice #207
Hotfix/failing thin pull requests practice #207
Conversation
DX Scanner Reporthttps://github.com/DXHeroes/dx-scanner
|
Name | New | Current |
---|---|---|
@types/node | 13.1.8 | 12.12.25 |
Impact changed from high to medium.
ESLint Without Errors
Use the ESLint correctly. You have some errors. https://eslint.org/
🔔 Improvements with minor impact
Write Commit Messages by Convention
https://www.conventionalcommits.org/
Commit Message | Problems |
---|---|
Test/increase codecoverage (#204) | subject may not be empty; type may not be empty |
|
Test/increase codecoverage |
docs: Travis badge uses a master branch to show build status | subject must not be sentence-case, start-case, pascal-case, upper-case
Update Dependencies of Major Level
Keep the dependencies updated to have all possible features. Use, for example, npm-check-updates. https://github.com/tjunnone/npm-check-updates
Name | New | Current |
---|---|---|
@types/node | 13.1.8 | 12.12.25 |
Use a JS Logging Library
Use a logging library to avoid errors and even cyber attacks. The most widely used logging library in the JavaScript community is Winston. https://www.npmjs.com/package/winston/
Implementation is not adoption.
We can help you with both. :-)
dxheroes.io
Found a bug? Please report.
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.
- change the suggestion text as the comment says
- add info about suggested changes of PR id attr
src/services/git/GitHubService.ts
Outdated
@@ -136,7 +136,7 @@ export class GitHubService implements IVCSService { | |||
closedAt: response.data.closed_at, | |||
mergedAt: response.data.merged_at, | |||
state: response.data.state, | |||
id: response.data.id, | |||
id: response.data.number, |
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.
How do you know that number
attribute is an PR id?
- Add a link referring to the information why the
number
is the correct PR id.
I have found just this:
Be aware that the id of a pull request returned from "Issues" endpoints will be an issue id. To find out the pull request id, use the "List pull requests" endpoint.
src.: https://developer.github.com/v3/issues/#list-issues
... but nothing about the number
attribute.
Codecov Report
@@ Coverage Diff @@
## master #207 +/- ##
==========================================
+ Coverage 87.18% 87.38% +0.19%
==========================================
Files 165 164 -1
Lines 3590 3559 -31
Branches 563 558 -5
==========================================
- Hits 3130 3110 -20
+ Misses 460 449 -11
|
…hotfix/failing-thinPullRequestsPractice
🎉 This PR is included in version 1.35.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fix failing practice