Add rule preventing the use of non existent annotations in apex

This commit is contained in:
Anand
2017-04-03 00:16:04 -07:00
parent 96fd8fbca6
commit 7a403acaa7
2 changed files with 14 additions and 0 deletions

View File

@ -174,6 +174,15 @@
</properties>
</rule>
<<<<<<< HEAD
<rule ref="rulesets/apex/style.xml/AvoidNonExistentAnnotations" message="Use of non existent annotations will lead to broken Apex code which will not compile in the future.">
<priority>3</priority>
<properties>
<!-- relevant for Code Climate output only -->
<property name="cc_categories" value="Style" />
<property name="cc_remediation_points_multiplier" value="100" />
<property name="cc_block_highlighting" value="false" />
</properties>
</rule>
<rule ref="rulesets/apex/style.xml/AvoidNonExistentAnnotations" message="Use of non existent annotations will lead to broken Apex code which will not compile in the future.">
<priority>3</priority>
<properties>

View File

@ -34,5 +34,10 @@
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>apex</groupId>
<artifactId>apex-jorje-ide</artifactId>
<version>1.0-sfdc-187-SNAPSHOT-55042bfc2e</version>
</dependency>
</dependencies>
</project>