rspec/rules/S117/plsql/rule.adoc

33 lines
668 B
Plaintext

Shared coding conventions allow teams to collaborate efficiently. This rule checks that all variable names match the provided regular expression.
== Noncompliant Code Example
With the default regular expression ``++[a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?++``:
----
DECLARE
goodVariable PLS_INTEGER; -- Compliant
badVariable_ PLS_INTEGER; -- Non-Compliant
BEGIN
NULL;
END;
/
----
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[]