Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all namespace variables names match a provided regular expression.
This rule does not check standard variable names. See Variable names should comply with a naming convention instead.
With default regular expression ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$:
variable Fly 42
With default regular expression ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$:
variable fly 42
The rule is not checked if the name of the namespace variable is dynamic:
variable $fly 42