-
Notifications
You must be signed in to change notification settings - Fork 10
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 dependencies. Replace JSHint with ESLint. Remove grunt #61
Update dependencies. Replace JSHint with ESLint. Remove grunt #61
Conversation
@@ -202,9 +202,10 @@ describe("yolo", function () { | |||
|
|||
var onReadable = function () { | |||
// Readable is emitted as soon a row is received and parsed | |||
var row; | |||
while (row = this.read()) { | |||
var row = this.read(); |
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.
ESLint is unhappy about assignment within condition.
@@ -103,6 +103,7 @@ function _getSelect() { | |||
if (_.has(this._grouped, "aggregate")) { | |||
_.each(this._grouped.aggregate, function (aggregate) { | |||
// TODO add.. more.. aggregates | |||
var key, val; |
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.
ESLint is unhappy about redefining previously defined key
, val
variables, hence I extracted definition to a common scope.
@UnbounDev Would you consider taking a look? |
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.
LGTM, thanks for the contribution @kibertoad and apologies that it slipped my notice for so long!
Since Grunt is pretty much considered legacy now, I've replaced it with direct npm script invocation.
Same with JSHint - ESLint is up-to-date alternative.