From 88ab72fe24c6b9cc178eb75ae93c65164da6a227 Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Sun, 14 May 2023 16:26:59 -0700 Subject: [PATCH] fix lint --- src/app/app.component.spec.ts | 1 - src/app/home/home.component.spec.ts | 1 - src/lib/overlay/overlay.ts | 3 +-- src/lib/portal/portal.ts | 1 - src/lib/toastr/toastr-config.ts | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 5431c4d7..f9c516d6 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/no-use-before-define */ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { TestBed, waitForAsync } from '@angular/core/testing'; diff --git a/src/app/home/home.component.spec.ts b/src/app/home/home.component.spec.ts index bde1adca..42b38023 100644 --- a/src/app/home/home.component.spec.ts +++ b/src/app/home/home.component.spec.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/no-use-before-define */ import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { TestBed, waitForAsync } from '@angular/core/testing'; diff --git a/src/lib/overlay/overlay.ts b/src/lib/overlay/overlay.ts index 487abbea..fe6433bc 100644 --- a/src/lib/overlay/overlay.ts +++ b/src/lib/overlay/overlay.ts @@ -1,6 +1,5 @@ -/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { DOCUMENT } from '@angular/common'; -import { ApplicationRef, ComponentFactoryResolver, inject, Inject, Injectable } from '@angular/core'; +import { ApplicationRef, ComponentFactoryResolver, inject, Injectable } from '@angular/core'; import { DomPortalHost } from '../portal/dom-portal-host'; import { ToastContainerDirective } from '../toastr/toast.directive'; diff --git a/src/lib/portal/portal.ts b/src/lib/portal/portal.ts index 35280e64..3ba0c166 100644 --- a/src/lib/portal/portal.ts +++ b/src/lib/portal/portal.ts @@ -5,7 +5,6 @@ import { } from '@angular/core'; export interface ComponentType { - // eslint-disable-next-line @typescript-eslint/prefer-function-type new (...args: any[]): T; } diff --git a/src/lib/toastr/toastr-config.ts b/src/lib/toastr/toastr-config.ts index 0f7df668..864c3f68 100644 --- a/src/lib/toastr/toastr-config.ts +++ b/src/lib/toastr/toastr-config.ts @@ -196,7 +196,6 @@ export class ToastPackage { } } -/* eslint-disable @typescript-eslint/no-empty-interface */ /** @deprecated use GlobalConfig */ export interface GlobalToastrConfig extends GlobalConfig {} /** @deprecated use IndividualConfig */