Answer the question
In order to leave comments, you need to log in
JSlint JS validation setting?
Help me please!!)) I can't figure out the "lint" setting under gulp. Does not want to accept code, writes that variables cannot be declared via var, etc.
PS I checked the code on the jslint site - there are all the rules and there are no errors.
Who knows what needs to be shamanized in the config in order to work normally =)
Answer the question
In order to leave comments, you need to log in
Usually, for such cases, it is better to tweak the settings of the code auto-formatter. What do you have there: jsfmt, web-beautify, js-beautify? In any case, just look for the option "JSLint Happy" or similar, and then rewrite the code as expected:
If it helps, my EMACS config also stores auto-format settings for JS - you yourself will understand which files and where to put them (judging by ubuntu).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question