Katello/katello — pull request #276 by ehelms (2012-07-03 03:44:03+00:00)
Title: JSHint - Adds support for running JSHint in development via a rake task.

JSHint is a code style checker for the JavaScript language based on the original JSLint by Douglas Crockford. The JSHintrb gem (https://github.com/stereobooster/jshintrb) provides a convient wrapper around JSHint that can easily be configured via a rake task.

This request adds the necessary dependencies and adds a rake task that developers can run before checking code in to ensure Javascript meets project standards. Follow-up work will be needed to clean-up the current Javascript.

The options applied thus far reflect the common code conventions that Katello has adopted up to this point. The full list of available options can be found here:
http://www.jshint.com/options/

This pull request is dependent upon the development gems showing up in the Katello repository.

ACKs:
@jrist
@mccun934