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.("#{PATH}/vendor/test.jar")
- RHINO_JAR_FILE =
File.("#{PATH}/vendor/rhino.jar")
- TEST_JAR_CLASS =
"Test"
- RHINO_JAR_CLASS =
"org.mozilla.javascript.tools.shell.Main"
- JSLINT_FILE =
File.("#{PATH}/vendor/jslint.js")
- VERSION =
"1.1.1"
- DEFAULT_CONFIG_FILE =
File.(File.dirname(__FILE__) + "/config/jslint.yml")
Class Attribute Summary collapse
Class Attribute Details
.config_path ⇒ Object
12 13 14 |
# File 'lib/jslint/utils.rb', line 12 def config_path @config_path || JSLint::Utils.default_config_path end |