[javascript-lint addon] Fix error markers
When using tabs for indentation, the markers would not always align with the actual problem. The old workaround for JSHint never really worked (only when a line had one tab) and I found a simple option which fixes the issue. This time I also checked backwards compatibility, which works even fine with the old JSHint version R07. As a second marker fix, I added an error line check, since JSHint for some reason adds configuration issues in the errors array with line: 0, character: 0. Now, if you pass an invalid option you will get a console error instead of an invisible marker.
Loading
Please register or sign in to comment