No input and No Output rename tslint rule (#2814)

This commit is contained in:
Eugenio Romano 2018-01-10 17:39:55 +00:00 committed by GitHub
parent 932a23d449
commit 95a33363cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 46 additions and 18 deletions

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-input-rename */
import { DataColumn } from '@alfresco/adf-core'; import { DataColumn } from '@alfresco/adf-core';
import { LogService } from '@alfresco/adf-core'; import { LogService } from '@alfresco/adf-core';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, HostListener, Input } from '@angular/core'; import { Directive, HostListener, Input } from '@angular/core';
import { MatDialog, MatDialogConfig } from '@angular/material'; import { MatDialog, MatDialogConfig } from '@angular/material';
import { MinimalNodeEntryEntity } from 'alfresco-js-api'; import { MinimalNodeEntryEntity } from 'alfresco-js-api';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, ElementRef, HostListener, Input } from '@angular/core'; import { Directive, ElementRef, HostListener, Input } from '@angular/core';
import { MatDialog, MatDialogConfig } from '@angular/material'; import { MatDialog, MatDialogConfig } from '@angular/material';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { ENTER, ESCAPE } from '@angular/cdk/keycodes'; import { ENTER, ESCAPE } from '@angular/cdk/keycodes';
import { import {
ChangeDetectorRef, ChangeDetectorRef,

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { FileUtils } from '@alfresco/adf-core'; import { FileUtils } from '@alfresco/adf-core';
import { Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core'; import { Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, HostListener, Input } from '@angular/core'; import { Directive, HostListener, Input } from '@angular/core';
import { ContextMenuService } from './context-menu.service'; import { ContextMenuService } from './context-menu.service';

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-input-rename */
import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core'; import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, ElementRef, Input, Renderer } from '@angular/core'; import { Directive, ElementRef, Input, Renderer } from '@angular/core';
import { HighlightTransformService, HightlightTransformResult } from '../services/highlight-transform.service'; import { HighlightTransformService, HightlightTransformResult } from '../services/highlight-transform.service';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, ElementRef, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core'; import { Directive, ElementRef, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core';
import { MinimalNodeEntity, MinimalNodeEntryEntity } from 'alfresco-js-api'; import { MinimalNodeEntity, MinimalNodeEntryEntity } from 'alfresco-js-api';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core'; import { Directive, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core';
import { FavoriteBody, MinimalNodeEntity } from 'alfresco-js-api'; import { FavoriteBody, MinimalNodeEntity } from 'alfresco-js-api';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { ChangeDetectorRef, Directive, ElementRef, Host, Inject, Input, OnChanges, Optional, Renderer2, SimpleChanges } from '@angular/core'; import { ChangeDetectorRef, Directive, ElementRef, Host, Inject, Input, OnChanges, Optional, Renderer2, SimpleChanges } from '@angular/core';
import { MinimalNodeEntity } from 'alfresco-js-api'; import { MinimalNodeEntity } from 'alfresco-js-api';
import { ContentService } from './../services/content.service'; import { ContentService } from './../services/content.service';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector no-input-rename */
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core'; import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { DeletedNodeEntry, DeletedNodesPaging, PathInfoEntity } from 'alfresco-js-api'; import { DeletedNodeEntry, DeletedNodesPaging, PathInfoEntity } from 'alfresco-js-api';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { Directive, ElementRef, HostListener, Input, NgZone, OnDestroy, OnInit, Renderer } from '@angular/core'; import { Directive, ElementRef, HostListener, Input, NgZone, OnDestroy, OnInit, Renderer } from '@angular/core';
import { FileInfo, FileUtils } from '../utils/file-utils'; import { FileInfo, FileUtils } from '../utils/file-utils';

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-input-rename */
import { Component, ViewEncapsulation } from '@angular/core'; import { Component, ViewEncapsulation } from '@angular/core';
import { WidgetVisibilityService } from '../../../services/widget-visibility.service'; import { WidgetVisibilityService } from '../../../services/widget-visibility.service';

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-input-rename */
import { Component, ViewEncapsulation } from '@angular/core'; import { Component, ViewEncapsulation } from '@angular/core';
import { FormService } from './../../../services/form.service'; import { FormService } from './../../../services/form.service';

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable: component-selector, no-use-before-declare */ /* tslint:disable: component-selector no-use-before-declare no-input-rename */
import { import {
Directive, Directive,

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { import {
ChangeDetectionStrategy, ChangeDetectionStrategy,
Component, Component,

View File

@ -15,9 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-access-missing-member no-input-rename */
/* tslint:disable:no-access-missing-member */
import { Component, ElementRef, Input, ViewEncapsulation } from '@angular/core'; import { Component, ElementRef, Input, ViewEncapsulation } from '@angular/core';
import { FormGroup } from '@angular/forms'; import { FormGroup } from '@angular/forms';
import { WidgetComponent } from './../widget.component'; import { WidgetComponent } from './../widget.component';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { MOMENT_DATE_FORMATS, MomentDateAdapter, UserPreferencesService } from '@alfresco/adf-core'; import { MOMENT_DATE_FORMATS, MomentDateAdapter, UserPreferencesService } from '@alfresco/adf-core';
import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core';
import { AbstractControl, FormControl, FormGroup, Validators } from '@angular/forms'; import { AbstractControl, FormControl, FormGroup, Validators } from '@angular/forms';

View File

@ -15,9 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-access-missing-member no-input-rename */
/* tslint:disable::no-access-missing-member */
import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms'; import { FormControl, FormGroup, Validators } from '@angular/forms';
import { WidgetComponent } from './../widget.component'; import { WidgetComponent } from './../widget.component';

View File

@ -15,9 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-access-missing-member no-input-rename */
/* tslint:disable::no-access-missing-member */
import { Component, ElementRef, Input, OnInit, ViewEncapsulation } from '@angular/core'; import { Component, ElementRef, Input, OnInit, ViewEncapsulation } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms'; import { FormControl, FormGroup, Validators } from '@angular/forms';
import { ParameterValueModel } from '../../../../diagram/models/report/parameterValue.model'; import { ParameterValueModel } from '../../../../diagram/models/report/parameterValue.model';

View File

@ -15,9 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:component-selector */ /* tslint:disable:component-selector no-access-missing-member no-input-rename */
/* tslint:disable::no-access-missing-member */
import { Component, ElementRef, Input, OnInit, ViewEncapsulation } from '@angular/core'; import { Component, ElementRef, Input, OnInit, ViewEncapsulation } from '@angular/core';
import { FormGroup, Validators } from '@angular/forms'; import { FormGroup, Validators } from '@angular/forms';
import { WidgetComponent } from './../widget.component'; import { WidgetComponent } from './../widget.component';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { ContentService } from '@alfresco/adf-core'; import { ContentService } from '@alfresco/adf-core';
import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
import { ProcessService } from './../services/process.service'; import { ProcessService } from './../services/process.service';

View File

@ -15,6 +15,8 @@
* limitations under the License. * limitations under the License.
*/ */
/* tslint:disable:no-input-rename */
import { ContentService } from '@alfresco/adf-core'; import { ContentService } from '@alfresco/adf-core';
import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
import { TaskListService } from './../services/tasklist.service'; import { TaskListService } from './../services/tasklist.service';

View File

@ -156,6 +156,8 @@
"no-access-missing-member": false, "no-access-missing-member": false,
"adf-file-name": true, "adf-file-name": true,
"adf-class-name": true, "adf-class-name": true,
"adf-prefix-name": true "adf-prefix-name": true,
"no-input-rename": true,
"no-output-rename": true
} }
} }