From 647b0928e676b8eb0c0f38f7caa7f03aa7fb8f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Wed, 25 Aug 2021 10:06:54 +0200 Subject: [PATCH] Add eslint ignore comments for wp-tabs service lines --- .../components/wp-tabs/services/wp-tabs/wp-tabs.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.ts b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.ts index 3c67496c8f..a8d987dc6b 100644 --- a/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.ts +++ b/frontend/src/app/features/work-packages/components/wp-tabs/services/wp-tabs/wp-tabs.service.ts @@ -47,8 +47,8 @@ export class WorkPackageTabsService { (tab) => ({ ...tab, counter: tab.count - ? (injector:Injector) => tab.count!(workPackage, injector || this.injector) - : (_:Injector) => from([0]), + ? (injector:Injector) => tab.count!(workPackage, injector || this.injector) // eslint-disable-line no-non-null-assertion + : (_:Injector) => from([0]), // eslint-disable-line no-unused-vars }), ); }