title | layout | rule_type |
---|---|---|
no-bacon |
doc |
suggestion |
Developers should not include bacon
in their identifiers -- especially when the code does not relate to bacon.
This rule disallows bacon in identifiers.
Examples of incorrect code for this rule:
const bacon = 'hello';
function baConstructor() {};
class someBaconClass {};
Examples of correct code for this rule:
const bac = 'hello';
function ba_con() {};
class b4c0n {};
If your code relates to bacon, you shouldn't enable this rule.