Why is this an issue?

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 alias names match a provided regular expression.

How to fix it

Code examples

Noncompliant code example

With default regular expression: ^a_[a-zA-Z0-9_]+$

alias my_alias : bit is DATA(31);

With custom regular expression: ^[A-Za-z]+$

alias A1 : bit is DATA(31);

Compliant solution

With default regular expression: ^a_[a-zA-Z0-9_]+$

alias a_whatever : bit is DATA(31);

With custom regular expression: ^[A-Za-z]+$

alias aWhatever : bit is DATA(31);