Class JsHint
java.lang.Object
ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
ro.isdc.wro.extensions.processor.support.linter.JsHint
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
Constructors -
Method Summary
Methods inherited from class ro.isdc.wro.extensions.processor.support.linter.AbstractLinter
createDefaultOptions, getWebjarLocator, setOptions, validate
-
Constructor Details
-
JsHint
public JsHint()
-
-
Method Details
-
getScriptAsStream
- Specified by:
getScriptAsStreamin classAbstractLinter- Returns:
- the stream of the jshint script. Override this method to provide a different script version.
- Throws:
IOException- if the stream is invalid or unavailable.
-
getLinterName
- Specified by:
getLinterNamein classAbstractLinter- Returns:
- the name of the function used to perform the lint operation.
-