Class: CodeCheck::JSHint
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- CodeCheck::JSHint
- Defined in:
- lib/command/code_check/javascript/jshint.rb
Overview
Template for JSHint check
Instance Method Summary collapse
Instance Method Details
#template ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/command/code_check/javascript/jshint.rb', line 7 def template 'docker run ' \ '--rm ' \ '--volume %<pwd>s:/code ' \ '%<image_name>s ' \ 'jshint ' \ '--config /code/%<config_file>s ' \ '%<source_files>s' end |