33 lines
515 B
Plaintext
33 lines
515 B
Plaintext
:example: noncompliant.adoc
|
|
|
|
== Why is this an issue?
|
|
|
|
include::../description.adoc[]
|
|
|
|
=== Exceptions
|
|
|
|
The rule ignores:
|
|
|
|
* code blocks that contain comments
|
|
* `while` loops
|
|
|
|
[source,kotlin]
|
|
----
|
|
while (order.processNext()); // Compliant by exception
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|