Closed edu791 closed 10 years ago
No, jshint-eclipse only integrates JSHint into Eclipse, it's not a JavaScript tool suite.
However, to get rid of these warnings, you may have to set the option white
to false
. AFAIK, those formatting checks are considered obsolete and will be removed from JSHint in the future. See
http://www.jshint.com/docs/options/
For example if I have this code:
and I run source->format, the code turns into this:
but the problem is that JSLint doesn't accept that code because I have to put a white space between "foo" and "("
Is there a way in jshint-eclipse to automatically format that code to be acceptable to JSLint ?