Disable class-methods-use-this lint rule
		
	This commit is contained in:
		
					parent
					
						
							
								569a14e897
							
						
					
				
			
			
				commit
				
					
						d6ffb08a63
					
				
			
		
					 35 changed files with 8 additions and 80 deletions
				
			
		| 
						 | 
				
			
			@ -43,8 +43,6 @@ const searchResultKeys: Array<
 | 
			
		|||
  'conversationResults' | 'contactResults' | 'messageResults'
 | 
			
		||||
> = ['conversationResults', 'contactResults', 'messageResults'];
 | 
			
		||||
 | 
			
		||||
/* eslint-disable class-methods-use-this */
 | 
			
		||||
 | 
			
		||||
export class LeftPaneSearchHelper extends LeftPaneHelper<LeftPaneSearchPropsType> {
 | 
			
		||||
  private readonly conversationResults: MaybeLoadedSearchResultsType<ConversationListItemPropsType>;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -144,7 +142,6 @@ export class LeftPaneSearchHelper extends LeftPaneHelper<LeftPaneSearchPropsType
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  // This is currently unimplemented. See DESKTOP-1170.
 | 
			
		||||
  // eslint-disable-next-line class-methods-use-this
 | 
			
		||||
  getRowIndexToScrollTo(
 | 
			
		||||
    _selectedConversationId: undefined | string
 | 
			
		||||
  ): undefined | number {
 | 
			
		||||
| 
						 | 
				
			
			@ -256,7 +253,6 @@ export class LeftPaneSearchHelper extends LeftPaneHelper<LeftPaneSearchPropsType
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  // This is currently unimplemented. See DESKTOP-1170.
 | 
			
		||||
  // eslint-disable-next-line class-methods-use-this
 | 
			
		||||
  getConversationAndMessageAtIndex(
 | 
			
		||||
    _conversationIndex: number
 | 
			
		||||
  ): undefined | { conversationId: string; messageId?: string } {
 | 
			
		||||
| 
						 | 
				
			
			@ -264,7 +260,6 @@ export class LeftPaneSearchHelper extends LeftPaneHelper<LeftPaneSearchPropsType
 | 
			
		|||
  }
 | 
			
		||||
 | 
			
		||||
  // This is currently unimplemented. See DESKTOP-1170.
 | 
			
		||||
  // eslint-disable-next-line class-methods-use-this
 | 
			
		||||
  getConversationAndMessageInDirection(
 | 
			
		||||
    _toFind: Readonly<ToFindType>,
 | 
			
		||||
    _selectedConversationId: undefined | string,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue