Skip to content

"This sentence contains thirty-six characters."

Enforce quines (quine) ​

πŸ’Ό This rule is enabled in the 🌐 all config.

πŸ’‘ Examples ​

js
// βœ… Correct
($=_=>`($=${$})()`)()
js
// βœ… Correct
( function quine() {console.log("( " + quine.toString() + " )()")} )()

πŸ”§ Config ​

js
{ rules: { 'ninja/quine': 2 } }

Released under the MIT License