Closed
Description
I find the integration of scrip analyzer very helpful,
however sometimes there is a need to suppress a specific warning or error.
That can be done by adding decorating the code with something like
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSProvideCommentHelp", "")]
the key here is that I need to look up the PSSA RuleName, that is not easily referenced searchable based on the information provided. If
- the Rulename could be provided as part of the message ,
- if sample suppress block could be copied / pasted ( either from the psscript analyzer results, or as a snippit )
That would go a long way.
currently I often need retrieve the rule names from a build task that runs after check-in or look up the rule name by trial and error.
I would prefer to be able to do this quickly at edit time.