@@ -376,7 +376,6 @@ class Overlay<
376376 }
377377 }
378378
379- // eslint-disable-next-line class-methods-use-this
380379 _getActionsList ( ) : string [ ] {
381380 return [
382381 'onShowing' ,
@@ -462,7 +461,6 @@ class Overlay<
462461 this . hide ( ) ;
463462 }
464463
465- // eslint-disable-next-line class-methods-use-this
466464 _getAnonymousTemplateName ( ) : string {
467465 return ANONYMOUS_TEMPLATE_NAME ;
468466 }
@@ -482,7 +480,6 @@ class Overlay<
482480 const tabbableElements = overlayStack [ i ] . _findTabbableBounds ( ) ;
483481
484482 if ( tabbableElements . $first || tabbableElements . $last ) {
485- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
486483 // @ts -ignore expected: types Overlay<OverlayProperties> and this have no overlap
487484 return overlayStack [ i ] === this ;
488485 }
@@ -491,12 +488,10 @@ class Overlay<
491488 return false ;
492489 }
493490
494- // eslint-disable-next-line class-methods-use-this
495491 _overlayStack ( ) : Overlay [ ] {
496492 return OVERLAY_STACK ;
497493 }
498494
499- // eslint-disable-next-line class-methods-use-this
500495 _zIndexInitValue ( ) : number {
501496 return Overlay . baseZIndex ( ) ;
502497 }
@@ -554,7 +549,7 @@ class Overlay<
554549 return this . _getOptionValue ( 'animation' , this ) ?? { } ;
555550 }
556551
557- // eslint-disable-next-line @typescript-eslint/no-unused-vars, class-methods-use-this
552+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
558553 _toggleBodyScroll ( enabled ?: boolean ) : void { }
559554
560555 _animateShowing ( ) : void {
@@ -600,7 +595,6 @@ class Overlay<
600595 ) ;
601596 }
602597
603- // eslint-disable-next-line class-methods-use-this
604598 _processShowingHidingCancel (
605599 cancelArg : boolean | Promise < boolean > ,
606600 applyFunction : ( ) => void ,
0 commit comments