You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT: I realized that it has nothing to do with a recent update, although in my real use case, the warning has only started triggering after 2.9.3. I can't reproduce yet in a test though.
The text was updated successfully, but these errors were encountered:
batista
changed the title
/* jshint -W101 */ not working
/* jshint -W101 */ not working when withing IIFE
Aug 25, 2016
Thanks for the report! One detail missing from your test case is the maxlen
option. There are also a few details which aren't strictly necessary, so I've
cleaned things up a bit:
This is actually another case of a recently-reported bug; see gh-3013 for way
too much detail on what is going wrong here (along with an explanation as to
why it appears as a version 2.9.3 regression in your application).
I'm especially glad you reported the problem because it demonstrates how my
patch at gh-3016 is incomplete.
I believe there's a regression between versions 2.9.2 and 2.9.3.The following
started throwing a warning since 2.9.3throws an errorline 5, col 133, Line is too long. (W101)
:note that without the IIFE the warning doesn't trigger, the following passes the test:
EDIT: I realized that it has nothing to do with a recent update, although in my real use case, the warning has only started triggering after 2.9.3. I can't reproduce yet in a test though.
The text was updated successfully, but these errors were encountered: