[TxMt] Re: JSLintMate not working as advertised
Carpii UK
carpii.uk at gmail.com
Mon Jul 3 19:59:34 UTC 2017
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 at 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 at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20170703/4e447c7e/attachment.html>
More information about the textmate
mailing list