diff --git a/.eslintrc.js b/.eslintrc.js index 4066ad7f3..e5a4a4906 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -27,6 +27,7 @@ const appConfig = { reportUnusedDisableDirectives: true, rules: { '@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Page'] }], + '@angular-eslint/no-output-on-prefix': 'off', '@typescript-eslint/adjacent-overload-signatures': 'error', '@typescript-eslint/ban-types': [ 'error', diff --git a/src/app/directives/external-content.ts b/src/app/directives/external-content.ts index 0b228312f..dac1bbfd3 100644 --- a/src/app/directives/external-content.ts +++ b/src/app/directives/external-content.ts @@ -47,7 +47,6 @@ export class CoreExternalContentDirective implements AfterViewInit, OnChanges { @Input() href?: string; @Input('target-src') targetSrc?: string; // eslint-disable-line @angular-eslint/no-input-rename @Input() poster?: string; - // eslint-disable-next-line @angular-eslint/no-output-on-prefix @Output() onLoad = new EventEmitter(); // Emitted when content is loaded. Only for images. loaded = false; diff --git a/src/app/directives/supress-events.ts b/src/app/directives/supress-events.ts index 401578d8b..6a4ea4d35 100644 --- a/src/app/directives/supress-events.ts +++ b/src/app/directives/supress-events.ts @@ -39,7 +39,7 @@ import { Directive, ElementRef, OnInit, Input, Output, EventEmitter } from '@ang export class CoreSupressEventsDirective implements OnInit { @Input('core-suppress-events') suppressEvents?: string | string[]; - @Output() onClick = new EventEmitter(); // eslint-disable-line @angular-eslint/no-output-on-prefix + @Output() onClick = new EventEmitter(); protected element: HTMLElement;