Disallows the .hide
method.
no-visibility
instead.
❌ Examples of incorrect code:
$( 'div' ).hide();
$div.hide();
$( 'div' ).first().hide();
$( 'div' ).append( $( 'input' ).hide() );
✔️ Examples of correct code:
hide();
[].hide();
div.hide();
div.hide;