rspec/rules/S3358/swift/rule.adoc
Fred Tingaud a3f81b0b6c
Modify rule S3358: LaYC for Nested ternaries
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
2023-06-14 08:47:35 +00:00

28 lines
478 B
Plaintext

== Why is this an issue?
:noncompliant: swift/noncompliant.adoc
:compliant: swift/compliant.adoc
include::../description.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Extract the nested ternary operation into an independent statement.
include::../highlighting.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]