Adding to the rule chain
This commit is contained in:

committed by
Juan Martín Sotuyo Dodero

parent
d1acba8fc9
commit
8864936c1b
@@ -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);
|
||||
|
Reference in New Issue
Block a user