Use jshint in paver, include in builds.

JShint will be executed with paver run_jshint, which will use a defined set of
directories (likewise defined are directories to ignore). A limit can be imposed
on the total number of violations. Note that this change does NOT include adding
jshint to diff-quality or `paver run_quality`.
This commit is contained in:
Ben Patterson
2015-05-20 17:34:02 -04:00
parent c1c15f3c9e
commit aebb35d361
6 changed files with 218 additions and 2 deletions

View File

@@ -494,10 +494,10 @@ To view test coverage:
3. Reports are located in the ``reports`` folder. The command generates
HTML and XML (Cobertura format) reports.
Code Style Quality
Python Code Style Quality
------------------
To view code style quality (including pep8 and pylint violations)::
To view Python code style quality (including pep8 and pylint violations)::
paver run_quality
@@ -530,6 +530,20 @@ More specific options are below.
``system`` is an optional argument here. It defaults to
``cms,lms,common``.
JavaScript Code Style Quality
------------------
To view JavaScript code style quality::
paver run_jshint
- This command also comes with a ``--limit`` switch, for example::
paver run_jshint --limit=700
Testing using queue servers
---------------------------