Disallows the .selector
property.
📋 This rule is enabled in plugin:no-jquery/deprecated-1.7
.
❌ Examples of incorrect code:
$( 'div' ).selector;
$div.selector;
$div.selector.prop;
$div.selector.method();
$( 'div' ).first().selector;
f( $div.selector );
$( 'div' ).append( $( 'input' ).selector );
✔️ Examples of correct code:
selector;
div.selector;
$div.prop.selector;
$div.selector();
$div.selector( arg );