Module: Syntaxer::Runners::Javascript
- Defined in:
- lib/syntaxer/runner.rb
Instance Method Summary collapse
Instance Method Details
#run(root, files = []) ⇒ Object
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/syntaxer/runner.rb', line 43 def run(root, files = []) puts '' JSLint::Lint.new( :paths => files, :config_path => 'config/jslint.yml' ).run [] rescue JSLint::LintCheckFailure $stdmyout.puts "jslint checking failed" end |