ro.isdc.wro.extensions.processor.js.JsLintProcessor Maven / Gradle / Ivy
/*
* Copyright (C) 2011.
* All rights reserved.
*/
package ro.isdc.wro.extensions.processor.js;
import ro.isdc.wro.extensions.processor.support.linter.AbstractLinter;
import ro.isdc.wro.extensions.processor.support.linter.JsLint;
import ro.isdc.wro.model.resource.ResourceType;
import ro.isdc.wro.model.resource.SupportedResourceType;
/**
* 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.
*
* @author Alex Objelean
* @since 1.4.2
* @created 19 Sept 2011
*/
@SupportedResourceType(ResourceType.JS)
public class JsLintProcessor
extends AbstractLinterProcessor {
public static final String ALIAS = "jsLint";
/**
* {@inheritDoc}
*/
@Override
protected AbstractLinter newLinter() {
return new JsLint();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy