Module: JSLint

Defined in:
lib/jslint/lint.rb,
lib/jslint/utils.rb,
lib/jslint/errors.rb,
lib/jslint/railtie.rb

Defined Under Namespace

Modules: Utils Classes: Lint, LintCheckFailure, NoJavaException, Railtie

Constant Summary collapse

PATH =
File.dirname(__FILE__)
TEST_JAR_FILE =
File.expand_path("#{PATH}/vendor/test.jar")
RHINO_JAR_FILE =
File.expand_path("#{PATH}/vendor/rhino.jar")
TEST_JAR_CLASS =
"Test"
RHINO_JAR_CLASS =
"org.mozilla.javascript.tools.shell.Main"
JSLINT_FILE =
File.expand_path("#{PATH}/vendor/jslint.js")
VERSION =
"1.1.1"
DEFAULT_CONFIG_FILE =
File.expand_path(File.dirname(__FILE__) + "/config/jslint.yml")

Class Attribute Summary collapse

Class Attribute Details

.config_pathObject



12
13
14
# File 'lib/jslint/utils.rb', line 12

def config_path
  @config_path || JSLint::Utils.default_config_path
end