VariableName
Identifies variable names that don't adhere to a selected naming convention. Supports snake_case (default), camelCase, PascalCase, and kebab-case.
The following examples contain code snippets that either fail or pass this check. In the following examples, the default snake_case naming convention is used.
Parameter | Description |
---|---|
enabled |
Whether this check is enabled. |
severity |
The severity of the check. |
format |
The naming convention that the check uses to validate variable names. |
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.