Adding to the rule chain

This commit is contained in:
Sergey
2016-12-12 13:30:50 -08:00
committed by Juan Martín Sotuyo Dodero
parent d1acba8fc9
commit 8864936c1b

View File

@@ -23,6 +23,7 @@ public class ApexDangerousMethodsRule extends AbstractApexRule {
private static final String CONFIGURATION = "Configuration";
public ApexDangerousMethodsRule() {
super.addRuleChainVisit(ASTUserClass.class);
setProperty(CODECLIMATE_CATEGORIES, new String[] { "Security" });
setProperty(CODECLIMATE_REMEDIATION_MULTIPLIER, 100);
setProperty(CODECLIMATE_BLOCK_HIGHLIGHTING, false);