Hello!

I'm having a situation where I would benefit if it were possible to
specify severity for each set of rules. For example, my rules are
currently:

        <ruleset name="reporting">
                <rules include="*" from="Gendarme.Rules.Correctness.dll" />
        </ruleset>

I am running gendarme.exe with default severity (medium+). This is
reporting some CheckParametersNullityInVisibleMethodsRule that I do
not care about. Running gendarme.exe with severity high is more
appropriate regarding CheckParametersNullityInVisibleMethodsRule,
however I'd like the other correctness rules to still use medium+. If
I could specify this in my rules.xml I think this would be nice:

        <ruleset name="reporting">
                <rules include="*"
exclude="CheckParametersNullityInVisibleMethodsRule"
from="Gendarme.Rules.Correctness.dll" severity="medium+" />
                <rules include="CheckParametersNullityInVisibleMethodsRule"
from="Gendarme.Rules.Correctness.dll" severity="high" />
        </ruleset>

Regards,
Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"Gendarme" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gendarme?hl=en.

Reply via email to