V
V
Vanya Kotik2015-10-26 23:42:36
JavaScript
Vanya Kotik, 2015-10-26 23:42:36

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 =)
70cfc23ceb6c4f2f96d1ff6e25b6c49f.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Dunayevsky, 2015-10-27
@dunmaksim

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 question

Ask a Question

731 491 924 answers to any question