-
Notifications
You must be signed in to change notification settings - Fork 9
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
Issues/80 add technology and difficulty #82
Issues/80 add technology and difficulty #82
Conversation
Github/package.json
Outdated
"express": "^4.16.3", | ||
"jquery": "^3.3.1", | ||
"path": "^0.12.7", | ||
"prettier": "^1.18.2", |
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.
Shouldn't these go to "devDependencies"? @poftadeh @manekenpix
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.
Yes, but linting is covered in #28, so I would recommend not committing these packages yet.
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'll remove prettier
then.
Github/service.js
Outdated
}); | ||
} | ||
filteredIssues.push({ | ||
const labelsInIssue = issue.labels.map(label => { |
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.
Can be an implicit return: issue.labels.map(label => label.name);
Github/package.json
Outdated
"express": "^4.16.3", | ||
"jquery": "^3.3.1", | ||
"path": "^0.12.7", | ||
"prettier": "^1.18.2", |
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.
Yes, but linting is covered in #28, so I would recommend not committing these packages yet.
closes #80
Added
labels
tohelp-wanted
so nowdifficulty
is available for display. It hasn't been decided iftechnology
will be added using labels or the issue's text, so right nowrepository.language
is what provides information abouttechnology
.Also,
forEach
loops andif
statements were replaced (when possible) withmap()
andfilter()
.