Skip to content

Lint all JavaScript files#605

Merged
phillipj merged 3 commits intomasterfrom
bump/standard
Mar 29, 2016
Merged

Lint all JavaScript files#605
phillipj merged 3 commits intomasterfrom
bump/standard

Conversation

@lpinca
Copy link
Copy Markdown
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
Copy Markdown

ghost commented Mar 25, 2016

Travis build passed 👍

Comment thread events/pull-nodeschool.js Outdated
json: true
}, (err, resp, list) => {
if (err || resp.statusCode !== 200) {
throw (err || new Error('response not 200' + resp.statusCode))
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member Author

lpinca commented Mar 29, 2016

@phillipj PTAL.

@phillipj
Copy link
Copy Markdown
Member

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

@phillipj phillipj merged commit f2cb8f9 into master Mar 29, 2016
@phillipj phillipj deleted the bump/standard branch March 29, 2016 20:10
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