-
Notifications
You must be signed in to change notification settings - Fork 53
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
chore/eslint-update #107
chore/eslint-update #107
Conversation
return Boolean(this.auth); | ||
} | ||
|
||
/** | ||
* Get firmware library objects | ||
* @param {Object} query The query parameters for libraries. See Particle.listLibraries | ||
* @return {Promise} | ||
* @returns {Promise} A promise |
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.
a bit silly since we should be specifying exactly what the promise is resolved & rejected with but it's enough to placate the linter and not any worse than what we were doing
*/ | ||
downloadFirmwareBinary({ binaryId, auth, context }) { |
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.
wondering if this should be used here..? something like:
this.request({ uri, method: 'get', context });
* emit 'event' events. | ||
*/ | ||
getEventStream({ deviceId, name, org, product, auth, context }) { |
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.
another unused context
instance - this one less controversial since i don't think it's relevant here?
*/ | ||
createIntegration({ integrationType, event, settings, deviceId, product, auth, context }) { |
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.
another unused variable - flagging this one since the option was also documented
*/ | ||
deleteLibrary({ name, version, force }) { |
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 makes me, hmmm
Undocumented argument, gets removed, doesn't cause any other changes in the diff unless I missed them, so maybe not a tested method. Just want to make sure this is alright?
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.
it's not being used so i think it's safe 👍
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'm concerned about the deleteLibrary
change but aside from that the changes look routine for applying stronger linting rules and updating them.
|
No description provided.