rspec/rules/S100/jcl/rule.adoc
github-actions[bot] a2241c39a3
Modify rule S100: add language JCL (#3723)
* Add jcl to rule S100

* Provide JCL details

* Address review comment

---------

Co-authored-by: rudy-regazzoni-sonarsource <rudy-regazzoni-sonarsource@users.noreply.github.com>
Co-authored-by: Rudy Regazzoni <110470341+rudy-regazzoni-sonarsource@users.noreply.github.com>
2024-03-12 14:53:36 +01:00

37 lines
660 B
Plaintext

== Why is this an issue?
Shared naming conventions allow teams to collaborate efficiently.
This rule raises an issue when a procedure name does not match a provided regular expression.
For example, with the default provided regular expression ``++^[A-Z][A-Z0-9]*$++``, the procedure:
[source,jcl]
----
//* Noncompliant
//$PROC1 PROC
----
should be renamed to
[source,jcl]
----
//PROC1 PROC
----
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[]