MOBILE-3320 lint: Remove @Output prefix rule
parent
7ee20ea56a
commit
92f0c0c130
|
@ -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',
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue