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

42 lines
590 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
Code like
[source,vb6]
----
If a And b Then
If c And d Then ' Noncompliant
doSomething()
End If
End If
----
Will be more readable as
[source,vb6]
----
If a And b And c And d Then ' Compliant
doSomething()
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[]