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 architecture names match a provided regular expression.
With default regular expression: ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$
architecture MyArchitecture of my_entity is -- Noncompliant: Uppercase characters not allowed ... end;
With custom regular expression: ^[a-z]+[a-z0-9_]*_{ENTITY_NAME}$
architecture arch of my_entity is -- Noncompliant: Entity name not repeated at the end ... end;
With default regular expression: ^[a-z]|[a-z]+[a-z0-9_]*[a-z0-9]+$
architecture my_architecture of my_entity is ... end;
With custom regular expression: ^[a-z]+[a-z0-9_]*_{ENTITY_NAME}$
architecture arch_my_entity of my_entity is ... end;