rspec/rules/S116/swift/rule.adoc
2021-06-02 20:44:38 +02:00

27 lines
382 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression ``++^[a-z][a-zA-Z0-9]*$++``:
----
class MyClass {
var MyField = 1
}
----
== Compliant Solution
----
class MyClass {
var myField = 1
}
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]