Wizard: Add support for ignoring linter warnings (HMS-9208) #11579
dev-checks.yml
on: pull_request
  
    
      Build Check
    
          
              1m 21s
          
      
    
      ESLint
    
          
              1m 7s
          
      
    
      Circular Dependencies Check
    
          
              52s
          
      
    
      Manual API Changes Check
    
          
              55s
          
      Annotations
1 error and 10 warnings
          | 
                      
                          Build Check
                        
                      
                       Process completed with exit code 1. | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/steps/Oscap/components/PolicySelector.tsx#L132
                      
                       React Hook useEffect has missing dependencies: 'dispatch', 'policies', 'policyID', and 'policyTitle'. Either include them or remove the dependency array | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/steps/ImageOutput/index.tsx#L34
                      
                       React Hook useEffect has a missing dependency: 'blueprintName'. Either include it or remove the dependency array | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/steps/AAP/components/AAPRegistration.tsx#L44
                      
                       Unnecessary conditional, the types have no overlap | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/steps/AAP/components/AAPRegistration.tsx#L40
                      
                       Unnecessary conditional, value is always truthy    | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/ImportImageWizard.tsx#L29
                      
                       React Hook useEffect has missing dependencies: 'addNotification' and 'navigate'. Either include them or remove the dependency array | 
| 
                      
                          ESLint: 
                        src/Components/CreateImageWizard/CreateImageWizard.tsx#L310
                      
                       React Hook useEffect has a missing dependency: 'timezone'. Either include it or remove the dependency array | 
| 
                      
                          ESLint: 
                        src/Components/Blueprints/ImportBlueprintModal.tsx#L215
                      
                       React Hook React.useEffect has missing dependencies: 'addNotification' and 'handleRepositoryImport'. Either include them or remove the dependency array | 
| 
                      
                          ESLint: 
                        src/Components/Blueprints/BlueprintsSideBar.tsx#L181
                      
                       React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead | 
| 
                      
                          ESLint: 
                        playwright/Cockpit/cockpit.spec.ts#L68
                      
                       Unexpected use of page.waitForTimeout() | 
| 
                      
                          ESLint: 
                        playwright/Cockpit/cockpit.spec.ts#L36
                      
                       Unexpected use of page.waitForTimeout() |