All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.sonar.web.frontend.js.quality.JshintProfileDefinition Maven / Gradle / Ivy

Go to download

Consume reports generated by jshint for code quality. Also consume reports for code duplication (either simian or cpd). Consumes the unit/integration tests reports (generated by Jasmin) coverage report (lcov generated by Istanbul). The information generated by reports are added in Sonar

There is a newer version: 2.1.0
Show newest version
package fr.sii.sonar.web.frontend.js.quality;

import org.sonar.api.rules.RuleFinder;

import fr.sii.sonar.report.core.quality.profile.JsonProfileParser;
import fr.sii.sonar.report.core.quality.profile.ProfileFileDefinition;

/**
 * Just a specific implementation to help dependency injection
 * 
 * @author Aurélien Baudet
 *
 */
public class JshintProfileDefinition extends ProfileFileDefinition {

	public JshintProfileDefinition(RuleFinder ruleFinder, JsHintQualityConstants constants) {
		super(constants.getProfileJsonPath(), new JsonProfileParser(), ruleFinder);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy