I am trying to create a simple JavaScript validator, something like JSHint . I want to write JavaScript code and click the "Check" button and errors will appear.
Passing a JavaScript source like this JSHINT (js-source) just gives you "true" or "false" depending on whether the code is valid or not. I would like information (for example, the line number where the error occurred, the type of error, etc.) of each error.
Here is what I already have.
http://jsbin.com/AZEpOHi/1/edit
source share