◐ Shell
clean mode source ↗

Convert reports to JSON by oliversalzburg · Pull Request #135 · stacktracejs/stacktrace.js

@oliversalzburg

Includes JSON3 in the polyfill version
Fixes #133

houndci-bot

Choose a reason for hiding this comment

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

Line is too long.
Missing semicolon.
Expected an identifier and instead saw '=='.
Expected an operator and instead saw 'typeof'.
Expected an assignment or function call and instead saw an expression.
Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
'e' is already defined.
't' is already defined.
Possible strict violation.
Expected '{' and instead saw 'throw'.
Expected '{' and instead saw 'return'.
'i' is already defined.
Use '!==' to compare with 'null'.
Too many errors. (50% scanned).

@oliversalzburg

@eriwen Can we exclude dist from HoundCI checks? Also, do you know what the problem is with Travis?

@eriwen

@oliversalzburg Looks like we can exclude files from Hound by adding a .jshintignore file with the following content:

I'm not sure about Travis. It works on master and we haven't made changes. Maybe something is wrong with the PR-specific config somehow...

@eriwen

Also, this looks good except for the one thing; thank you!

eriwen

Choose a reason for hiding this comment

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

This should go in polyfills

@oliversalzburg

  • Fixed the gulp build (wow, what a mistake)
  • Added .jshintignore
  • Fixed the test
Includes JSON3 in the polyfill version
Fixes #133

houndci-bot

Choose a reason for hiding this comment

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

Line is too long.

Choose a reason for hiding this comment

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

How can that still be too long? O_o

Choose a reason for hiding this comment

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

Hm.. I'm guessing the default line length limit is 80.

Sorry about the annoying Hound stuff; don't worry about this kinda thing. I may just disable it since JSHint is part of the build anyway.

@eriwen

Looks good! :shipit:

eriwen pushed a commit that referenced this pull request

Apr 16, 2016