rspec/rules/S115/flex/rule.adoc

37 lines
615 B
Plaintext

== Why is this an issue?
include::../description.adoc[]
=== Noncompliant code example
With the default regular expression ``++^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$++``:
[source,flex]
----
public static const first:String = "first";
----
=== Compliant solution
[source,flex]
----
public static const FIRST:String = "first";
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
include::../parameters.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]