Shared coding conventions allow teams to collaborate efficiently. This rule checks that all namespace names match a provided regular
expression.
Noncompliant code example
With the default regular expression ^[a-z][a-z_0-9]*$
:
namespace Foo // Noncompliant
{
}
Compliant solution
namespace foo
{
}