option name in JavaScript error object #762

Closed
segrey opened this Issue Dec 6, 2012 · 1 comment

Comments

Projects
None yet
2 participants

segrey commented Dec 6, 2012

Whenever an error is reported by JSHint it's necessary to decide how the error should be fixed: by tweaking JSHint options or by changing source code.
The issue is about easing tweaking JSHint options.

Some errors reported by JSHint could be fixed by changing a single option (for instance bitwise, camelcase, strict).
It would be possible to enhance JSHint IntelliJ support (and most likely integrations with other IDEs) if error data structure has option name that caused the error to be reported.
Thanks.

Owner

valueof commented Jan 13, 2013

We're working on that. 1.0.0 has message codes associated with every message. Everything else is documentation's job.

@valueof valueof closed this Jan 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment