qHint - Integrating jsHint into qUnit
This small script lets you integrate jsHint coding style validation into your qUnit unit tests. For more information, see the blog post Enforcing coding conventions with jsHint and qUnit
qhint.jsfile after qUnit and before calling it.
jsHintTestfunction like this:
jsHintTest(*file* [, *options*, [*globals*]]);
Optionally, you can name the test:
jsHintTest(*name*, *file* [, *options*, [*globals*]]);
You can also use the
qHint()alias of the same function, depending on your preferences.