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 constant names match a provided regular expression.
With default regular expression ^[A-Z]|[A-Z]+[A-Z0-9_]*[A-Z0-9]+$:
const abc = 1;
With default regular expression ^[A-Z]|[A-Z]+[A-Z0-9_]*[A-Z0-9]+$:
const ABC = 1;