[
https://jira.codehaus.org/browse/MCHECKSTYLE-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350547#comment-350547
]
Herve Boutemy edited comment on MCHECKSTYLE-242 at 10/11/14 1:55 AM:
---------------------------------------------------------------------
done in [r1614200|http://svn.apache.org/r1614200]
now we can ignore a rule or a category with checkstyle.violation.ignore property
{code:xml}<project ...>
<properties>
<!-- ignore AvoidStaticImport rule and every "design" category rule -->
<checkstyle.violation.ignore>AvoidStaticImport,design</checkstyle.violation.ignore>
</properties>
</project>{code}
was (Author: hboutemy):
done in [r1614200|http://svn.apache.org/r1614200]
> fine grained ignore of violations
> ---------------------------------
>
> Key: MCHECKSTYLE-242
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-242
> Project: Maven Checkstyle Plugin
> Issue Type: New Feature
> Affects Versions: 2.12.1
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Fix For: 2.13
>
>
> checkstyle:check defines a violation by a minimum severity
> then if a rule cause unwanted violation, you can only either fix it or
> completely disable all checks
> being able to ignore some rules or rule categories would permit more fine
> grained disabling
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)