Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Conversation

@c-w
Copy link
Contributor

@c-w c-w commented Jun 20, 2017

This pull request fixes all eslint issues and sets up CI so that we always run tests and lint on every check-in/pull-request.

The pull request also fixes a few bugs uncovered by eslint, mostly to do with referencing undefined variables.

@c-w c-w requested review from Smarker and erikschlegel June 20, 2017 22:14
Copy link
Contributor

@Smarker Smarker left a comment

Choose a reason for hiding this comment

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

Looks good. I see that I will have to make changes in my code since I might have used double quotes a couple of times rather than single quotes.

node_js

node_js:
- "7"
Copy link
Contributor

Choose a reason for hiding this comment

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

package.json has node version 6.0.0 not sure if we want to keep our version at 7 or change what is in .travis.yml from 7 to 6.

Copy link
Contributor Author

@c-w c-w Jun 20, 2017

Choose a reason for hiding this comment

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

Good catch. We can run on both actually, see 0aa6524.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

NB: you can use ./node_modules/.bin/eslint src --fix to auto-fix simple issues like double-quotes vs single-quotes.

Copy link
Collaborator

@erikschlegel erikschlegel left a comment

Choose a reason for hiding this comment

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

Thank you!

@erikschlegel erikschlegel merged commit c057760 into master Jun 21, 2017
@c-w c-w deleted the fix-eslint branch June 21, 2017 17:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants