rspec/rules/S117/plsql/rule.adoc
2021-01-27 13:42:22 +01:00

16 lines
385 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;
/
----