Skip to content
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

Lint all JavaScript files #605

Merged
merged 3 commits into from
Mar 29, 2016
Merged

Lint all JavaScript files #605

merged 3 commits into from
Mar 29, 2016

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Mar 25, 2016

This patch brings the following changes:

  • Update standard to version 6.x.
  • Run the linter on all JavaScript files.
  • Clean up the scripts to pull events data.
  • Fix existing lint errors.

@ghost
Copy link

ghost commented Mar 25, 2016

Travis build passed 👍

json: true
}, (err, resp, list) => {
if (err || resp.statusCode !== 200) {
throw (err || new Error('response not 200' + resp.statusCode))
Copy link
Member

Choose a reason for hiding this comment

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

Some nitpicking for you; the error message should probably have a space added after 200.

Copy link
Member Author

Choose a reason for hiding this comment

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

This was copy/pasted but it definitely makes sense. Gonna fix it in a bit.
The same thing need to be fixed also in the other file.

@lpinca
Copy link
Member Author

lpinca commented Mar 29, 2016

@phillipj PTAL.

@phillipj
Copy link
Member

Very nice 👍 Even seems to work locally, so lets :shipit: Maybe some day we'll even have tests on this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants