MOBILE-3320 lint: Remove @Output prefix rule
parent
7ee20ea56a
commit
92f0c0c130
|
@ -27,6 +27,7 @@ const appConfig = {
|
||||||
reportUnusedDisableDirectives: true,
|
reportUnusedDisableDirectives: true,
|
||||||
rules: {
|
rules: {
|
||||||
'@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Page'] }],
|
'@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Page'] }],
|
||||||
|
'@angular-eslint/no-output-on-prefix': 'off',
|
||||||
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
'@typescript-eslint/adjacent-overload-signatures': 'error',
|
||||||
'@typescript-eslint/ban-types': [
|
'@typescript-eslint/ban-types': [
|
||||||
'error',
|
'error',
|
||||||
|
|
|
@ -47,7 +47,6 @@ export class CoreExternalContentDirective implements AfterViewInit, OnChanges {
|
||||||
@Input() href?: string;
|
@Input() href?: string;
|
||||||
@Input('target-src') targetSrc?: string; // eslint-disable-line @angular-eslint/no-input-rename
|
@Input('target-src') targetSrc?: string; // eslint-disable-line @angular-eslint/no-input-rename
|
||||||
@Input() poster?: string;
|
@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.
|
@Output() onLoad = new EventEmitter(); // Emitted when content is loaded. Only for images.
|
||||||
|
|
||||||
loaded = false;
|
loaded = false;
|
||||||
|
|
|
@ -39,7 +39,7 @@ import { Directive, ElementRef, OnInit, Input, Output, EventEmitter } from '@ang
|
||||||
export class CoreSupressEventsDirective implements OnInit {
|
export class CoreSupressEventsDirective implements OnInit {
|
||||||
|
|
||||||
@Input('core-suppress-events') suppressEvents?: string | string[];
|
@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;
|
protected element: HTMLElement;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue