Skip to content

"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 } }

πŸ”— See also ​

πŸ§‘β€πŸ’» Demo ​

Released under the MIT License