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
variable names match one of the following patterns: lowerCamelCase
, PascalCamelCase
or UPPER_CASED
. This rule
also allows leading underscore.
const foo_bar = 1; const baz_ = 2;
const fooBar = 1; const _baz = 2;