function DoSomething(){...} // Noncompliant
Shared naming conventions allow teams to collaborate efficiently. This rule checks that all function names match a provided regular expression.
With the default regular expression ^[a-z][a-zA-Z0-9]*$
:
function DoSomething(){...} // Noncompliant
function doSomething(){...}