I recognise the screenshots from JSLintMate, but I cant remember why I stopped using it.

This is the JSLint bundle I use now

https://github.com/bodnaristvan/JSHint.tmbundle

It works very well (and similar feature set), despite not being maintained in a long time




On 3 July 2017 at 20:50, Jack Royal-Gordon <jackrg@pobox.com> wrote:
HI!

I’ve installed JSLintMate and am trying to use it on the JS for my Rails project. I’ve tried to turn off complaints about “$” and “document” being undefined, but can’t seem to do so. I’ve tried with a “.jshintrc” resource file, and also with inline configuration. My inline configuration currently looks like:

/* jshint undef: false, unused: false */
// global $, document


I read in the docs that single-line comments work as well as open-close comments, so I tried both formats.

Not only did it not turn off all messages regarding undefined and unused variables, but it also did not turn them off for “$” and “document”. Does anyone have an idea why?

In case it helps, the messages look like:

JSHint found problems:

‘$’ is not defined.                             line 3
$(document).ready(function() {

‘document’ is not defined.              line 3
$(document).ready(function() {




_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate