rspec/rules/S1066/vbnet/rule.adoc
2023-10-16 09:46:41 +00:00

42 lines
582 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
Code like
[source,vbnet]
----
If condition1 Then
If condition2 Then ' Noncompliant
' ...
End If
End If
----
Will be more readable as
[source,vbnet]
----
If condition1 AndAlso condition2 Then
' ...
End If
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../highlighting.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]