Class JsLintProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.js.AbstractLinterProcessor
ro.isdc.wro.extensions.processor.js.JsLintProcessor
- All Implemented Interfaces:
Destroyable,ResourcePostProcessor,ResourcePreProcessor
Processor which analyze the js code and warns you about any problems. The processing result won't change no matter if
the processed script contains errors or not.
This processor loads the jslint library from the webjar.
- Since:
- 1.4.2
- Author:
- Alex Objelean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ro.isdc.wro.extensions.processor.js.AbstractLinterProcessor
createDefaultOptions, destroy, onException, onLinterException, process, process, setOptionsAsString
-
Field Details
-
ALIAS
- See Also:
-
-
Constructor Details
-
JsLintProcessor
public JsLintProcessor()
-
-
Method Details
-
newLinter
- Specified by:
newLinterin classAbstractLinterProcessor- Returns:
- the linter to use for js code validation.
-