chore: enable no-jquery/no-sizzle
		
	Don't rely on Jquery's CSS selector engine.
This commit is contained in:
		
					parent
					
						
							
								dde7c4a770
							
						
					
				
			
			
				commit
				
					
						9eb67ba8ed
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -376,7 +376,7 @@ export default tseslint.config(
 | 
				
			||||||
      'no-jquery/no-selector-prop': [2],
 | 
					      'no-jquery/no-selector-prop': [2],
 | 
				
			||||||
      'no-jquery/no-serialize': [2],
 | 
					      'no-jquery/no-serialize': [2],
 | 
				
			||||||
      'no-jquery/no-size': [2],
 | 
					      'no-jquery/no-size': [2],
 | 
				
			||||||
      'no-jquery/no-sizzle': [0],
 | 
					      'no-jquery/no-sizzle': [2],
 | 
				
			||||||
      'no-jquery/no-slide': [2],
 | 
					      'no-jquery/no-slide': [2],
 | 
				
			||||||
      'no-jquery/no-sub': [2],
 | 
					      'no-jquery/no-sub': [2],
 | 
				
			||||||
      'no-jquery/no-support': [2],
 | 
					      'no-jquery/no-support': [2],
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,7 +23,7 @@ export function initCompReactionSelector($parent) {
 | 
				
			||||||
        $react.remove();
 | 
					        $react.remove();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (!data.empty) {
 | 
					      if (!data.empty) {
 | 
				
			||||||
        const $attachments = $content.find('.segment.bottom:first');
 | 
					        const $attachments = $content.find('.segment.bottom').first();
 | 
				
			||||||
        $react = $(data.html);
 | 
					        $react = $(data.html);
 | 
				
			||||||
        if ($attachments.length > 0) {
 | 
					        if ($attachments.length > 0) {
 | 
				
			||||||
          $react.insertBefore($attachments);
 | 
					          $react.insertBefore($attachments);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue