MOBILE-3320 lint: Remove @Output prefix rule

main
Noel De Martin 2020-10-26 17:01:23 +01:00
parent 7ee20ea56a
commit 92f0c0c130
3 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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;

View File

@ -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;