This project is read-only.

Suppress custom rule

Aug 25, 2014 at 7:54 AM
I'm trying to integrate a few custom rules ( into our StyleCop setup. Unfortunately I am not able to suppress these rules and that makes it difficult to enforce in our existing, large codebase. Is there anything a custom rule needs to do in order to be "suppressable"? I've tried doing this:
[SuppressMessage("Community.StyleCop.CSharp.LayoutRules", "*", Justification = "Reviewed.")]
[SuppressMessage("Community.StyleCop.CSharp.LayoutRules", "CO1001:LinesMustNotBeLongerThanNumCharacters", Justification = "Reviewed.")]
Neither of those give any effect. What should I do here?

Thanks in advance!