Skip to content

Update linter and rules#58

Merged
ssh24 merged 1 commit intomasterfrom
update-eslint
Jul 24, 2017
Merged

Update linter and rules#58
ssh24 merged 1 commit intomasterfrom
update-eslint

Conversation

@ssh24
Copy link
Copy Markdown
Contributor

@ssh24 ssh24 commented Jul 24, 2017

Description

Update eslint to v4 and use the loopback extension.

@ssh24 ssh24 self-assigned this Jul 24, 2017
Comment thread lib/ibmdb.js
debug('IBMDB.prototype.executeSQL (exit)' +
' stmt=%j params=%j err=%j data=%j more=%j',
stmt, params, err, data, more);
stmt, params, err, data, more);
Copy link
Copy Markdown
Contributor

@loay loay Jul 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should have been on the same level as the previous line ..
I think line 257 shoudl be pushed back with less indent spaces .. I am not sure how it is not caught by linting !

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ./node_modules/.bin/eslint --fix . fixed it this way.

Copy link
Copy Markdown
Contributor

@loay loay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line indent in 257/258 does not look right to me

@ssh24
Copy link
Copy Markdown
Contributor Author

ssh24 commented Jul 24, 2017

@loay That is how the linting rules are on eslint v4. IMO, the line is correctly indented.

      debug('IBMDB.prototype.executeSQL (exit)' +
            ' stmt=%j params=%j err=%j data=%j more=%j',
      stmt, params, err, data, more);

PS. Check the CI builds to see that the linting is actually working.

Copy link
Copy Markdown
Contributor

@loay loay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ssh24 ssh24 merged commit 3e12f49 into master Jul 24, 2017
@ssh24 ssh24 deleted the update-eslint branch July 24, 2017 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants