rspec/rules/S117/plsql/rule.adoc

24 lines
549 B
Plaintext
Raw Normal View History

2020-06-30 10:16:44 +02:00
Shared coding conventions allow teams to collaborate efficiently. This rule checks that all variable names match the provided regular expression.
== Noncompliant Code Example
2021-01-27 13:42:22 +01:00
With the default regular expression ``++[a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?++``:
2020-06-30 10:16:44 +02:00
----
DECLARE
goodVariable PLS_INTEGER; -- Compliant
badVariable_ PLS_INTEGER; -- Non-Compliant
BEGIN
NULL;
END;
/
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]