Disallows the $.type
utility. Prefer typeof
/instanceof
.
📋 This rule is enabled in plugin:no-jquery/deprecated-3.3
.
📋 This rule is enabled in plugin:no-jquery/all
.
❌ Examples of incorrect code:
$.type();
✔️ Examples of correct code:
type();
myMethod.type();
myMethod.type;