rspec/rules/S2260/csharp/rule.adoc

29 lines
1002 B
Plaintext
Raw Normal View History

== Why is this an issue?
When the C# parser fails, it is possible to record the failure as a violation on the file. This way, not only it is possible to track the number of files that do not parse but also to easily find out why they do not parse.
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
=== on 6 Oct 2015, 12:16:13 Tamas Vajk wrote:
\[~ann.campbell.2] This rule talks about {cpp}, but in the title it says C#. This is a copy-paste error. What would be the purpose of this rule?
=== on 6 Oct 2015, 12:21:07 Ann Campbell wrote:
\[~tamas.vajk] many of the plugins have the ability to raise "parser failure" issues on files. That makes it easy for users to see which files didn't get analyzed for issues.
Not terribly relevant to SonarLint, but perhaps helpful on the plugin side.
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]