rspec/rules/S1542/abap/rule.adoc

39 lines
576 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
include::../description.adoc[]
== Noncompliant Code Example
2021-02-11 04:10:51 +00:00
With default provided regular expression: ``++^([A-Z0-9_]*|[a-z0-9_]*)$++``
2022-02-04 17:28:24 +01:00
[source,abap]
2020-06-30 12:47:33 +02:00
----
FUNCTION MyFunction.
...
ENDFUNCTION.
----
== Compliant Solution
2022-02-04 17:28:24 +01:00
[source,abap]
2020-06-30 12:47:33 +02:00
----
FUNCTION MY_FUNCTION.
...
ENDFUNCTION.
----
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[]