psionides/jslint_on_rails — pull request #12 by hlascelles (2012-03-13 12:54:27+00:00)
Title: Ensure jslint_on_rails doesn't always create a new default config file

This change ensures jslint_on_rails doesn't create a new config file in the default location if the config path has already been set to be read from somewhere else for this run.

eg

JSLint.config_path = "otherconfig/jslint-foo.yml"
require 'jslint/tasks'