Skip to content

Files

Latest commit

 

History

History
23 lines (15 loc) · 782 Bytes

Generic.NamingConventions.CamelCapsFunctionName.md

File metadata and controls

23 lines (15 loc) · 782 Bytes

Pattern: Malformed function name

Issue: -

Description

Ensures method and functions are named in CamelCaps.

Configuration

Strictly speaking, a name cannot have two capital letters next to each other in CamelCaps format. By setting the strict property to false, the rule is more lenient and allows for two capital letters next to each other in function and method names.

<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
    <properties>
        <property name="strict" value="false" />
    </properties>
</rule>

Further Reading