From d424ba0f600c79fb1b4bd26a284f50bf7e420172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 16 Jul 2024 16:22:54 +0200 Subject: [PATCH] MOBILE-4616 test: Fix linting --- .../features/courses/services/handlers/base-link-handler.ts | 5 +++++ .../editor/components/rich-text-editor/rich-text-editor.ts | 2 +- src/core/features/tag/components/components.module.ts | 2 -- src/core/features/user/components/components.module.ts | 2 -- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/core/features/courses/services/handlers/base-link-handler.ts b/src/core/features/courses/services/handlers/base-link-handler.ts index 80880f4ee..77e082961 100644 --- a/src/core/features/courses/services/handlers/base-link-handler.ts +++ b/src/core/features/courses/services/handlers/base-link-handler.ts @@ -30,6 +30,11 @@ export class CoreCoursesLinksHandlerBase extends CoreContentLinksHandlerBase { /** * Get actions to open course content. + * + * @param url URL to treat. + * @param courseId Course ID. + * @param pageParams Params to send to the new page. + * @returns Promise resolved with the actions. */ protected getCourseActions(url: string, courseId: number, pageParams: Params = {}): CoreContentLinksAction[] { return [{ diff --git a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts index c9c122540..44182ac56 100644 --- a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts +++ b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts @@ -550,7 +550,7 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, /** * Check if text is empty. * - * @param value Text or element containing the text. + * @param valueOrEl Text or element containing the text. * @returns If value is null only a white space. */ protected isNullOrWhiteSpace(valueOrEl: string | HTMLElement | null | undefined): boolean { diff --git a/src/core/features/tag/components/components.module.ts b/src/core/features/tag/components/components.module.ts index 2d9f500e9..216e1f1f0 100644 --- a/src/core/features/tag/components/components.module.ts +++ b/src/core/features/tag/components/components.module.ts @@ -26,8 +26,6 @@ import { CoreTagListComponent } from './list/list'; imports: [ CoreSharedModule, ], - providers: [ - ], exports: [ CoreTagFeedComponent, CoreTagListComponent, diff --git a/src/core/features/user/components/components.module.ts b/src/core/features/user/components/components.module.ts index eb21938b2..2f580aa89 100644 --- a/src/core/features/user/components/components.module.ts +++ b/src/core/features/user/components/components.module.ts @@ -26,8 +26,6 @@ import { CoreUserTagAreaComponent } from './tag-area/tag-area'; imports: [ CoreSharedModule, ], - providers: [ - ], exports: [ CoreUserProfileFieldComponent, CoreUserTagAreaComponent,