"Woof" β Randalf T.
Disallow woof! (no-woof
) β
πΌ This rule is enabled in the following configs: π all
, β
recommended
.
π§ This rule is automatically fixable by the --fix
CLI option.
π Rule details β
No woof!
π‘ Examples β
js
// β Incorrect
// woof Woof! WOOF!
const woof = 'woof'
// β
Correct
const foo = 'bar'
π§ Config β
js
{ rules: { 'ninja/no-woof': 2 } }