ro.isdc.wro.extensions.processor.support.linter
Class JsHint

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
      extended by ro.isdc.wro.extensions.processor.support.linter.JsHint

public class JsHint
extends AbstractLinter

Apply JsHint script checking utility.

Using untagged version (committed: 2012-11-13 05:25:37).
The jshint script was slightly modified, by removing the part where the arguments are processed, since it is not used.

Since:
1.3.5
Author:
Alex Objelean

Constructor Summary
JsHint()
           
 
Method Summary
protected  String getLinterName()
          
protected  InputStream getScriptAsStream()
           
 
Methods inherited from class ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
createDefaultOptions, setOptions, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsHint

public JsHint()
Method Detail

getScriptAsStream

protected InputStream getScriptAsStream()
Specified by:
getScriptAsStream in class AbstractLinter
Returns:
the stream of the jshint script. Override this method to provide a different script version.

getLinterName

protected String getLinterName()

Specified by:
getLinterName in class AbstractLinter
Returns:
the name of the function used to perform the lint operation.


Copyright © 2008-2013. All Rights Reserved.