diff --git a/.eslintrc.yml b/.eslintrc.yml index 8da793e2cf..fdcd3b1f97 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -102,6 +102,8 @@ overrides: '@typescript-eslint/no-empty-interface': off '@typescript-eslint/no-explicit-any': off '@typescript-eslint/no-namespace': off + '@typescript-eslint/no-require-imports': off + '@typescript-eslint/no-restricted-types': error '@typescript-eslint/no-this-alias': off '@typescript-eslint/no-unsafe-declaration-merging': off '@typescript-eslint/no-unused-vars': error diff --git a/libs/ng-mocks/src/lib/common/core.types.ts b/libs/ng-mocks/src/lib/common/core.types.ts index ebf850b5c6..93e620750d 100644 --- a/libs/ng-mocks/src/lib/common/core.types.ts +++ b/libs/ng-mocks/src/lib/common/core.types.ts @@ -1,5 +1,5 @@ // istanbul ignore file -/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable @typescript-eslint/no-unsafe-function-type */ import { DebugNode, InjectionToken } from '@angular/core'; import { ComponentFixture } from '@angular/core/testing'; diff --git a/libs/ng-mocks/src/lib/mock-builder/types.ts b/libs/ng-mocks/src/lib/mock-builder/types.ts index eb8b18f3db..58e1e3c07c 100644 --- a/libs/ng-mocks/src/lib/mock-builder/types.ts +++ b/libs/ng-mocks/src/lib/mock-builder/types.ts @@ -218,6 +218,7 @@ export interface IMockBuilder extends Promise { * * @see https://ng-mocks.sudo.eu/api/MockBuilder#extending-mockbuilder */ +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface IMockBuilderExtended extends IMockBuilder {} /**