diff --git a/lib/content-services/document-list/components/content-column/content-column.component.ts b/lib/content-services/document-list/components/content-column/content-column.component.ts index ebca175b37..1a79d22b91 100644 --- a/lib/content-services/document-list/components/content-column/content-column.component.ts +++ b/lib/content-services/document-list/components/content-column/content-column.component.ts @@ -15,7 +15,7 @@ * limitations under the License. */ - /* tslint:disable:component-selector */ + /* tslint:disable:component-selector no-input-rename */ import { DataColumn } from '@alfresco/adf-core'; import { LogService } from '@alfresco/adf-core'; diff --git a/lib/content-services/folder-directive/folder-create.directive.ts b/lib/content-services/folder-directive/folder-create.directive.ts index 493b0b20c1..b7bcc6b241 100644 --- a/lib/content-services/folder-directive/folder-create.directive.ts +++ b/lib/content-services/folder-directive/folder-create.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, HostListener, Input } from '@angular/core'; import { MatDialog, MatDialogConfig } from '@angular/material'; import { MinimalNodeEntryEntity } from 'alfresco-js-api'; diff --git a/lib/content-services/folder-directive/folder-edit.directive.ts b/lib/content-services/folder-directive/folder-edit.directive.ts index 3db1a46751..17e3f8b760 100644 --- a/lib/content-services/folder-directive/folder-edit.directive.ts +++ b/lib/content-services/folder-directive/folder-edit.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, ElementRef, HostListener, Input } from '@angular/core'; import { MatDialog, MatDialogConfig } from '@angular/material'; diff --git a/lib/content-services/search/components/search-trigger.directive.ts b/lib/content-services/search/components/search-trigger.directive.ts index c9c6df7df9..c8c196d9be 100644 --- a/lib/content-services/search/components/search-trigger.directive.ts +++ b/lib/content-services/search/components/search-trigger.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { ENTER, ESCAPE } from '@angular/cdk/keycodes'; import { ChangeDetectorRef, diff --git a/lib/content-services/upload/directives/file-draggable.directive.ts b/lib/content-services/upload/directives/file-draggable.directive.ts index c0cf40d4fd..e29e26e7d3 100644 --- a/lib/content-services/upload/directives/file-draggable.directive.ts +++ b/lib/content-services/upload/directives/file-draggable.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { FileUtils } from '@alfresco/adf-core'; import { Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core'; diff --git a/lib/core/context-menu/context-menu.directive.ts b/lib/core/context-menu/context-menu.directive.ts index 75e2ca9042..ff5cb13f3c 100644 --- a/lib/core/context-menu/context-menu.directive.ts +++ b/lib/core/context-menu/context-menu.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, HostListener, Input } from '@angular/core'; import { ContextMenuService } from './context-menu.service'; diff --git a/lib/core/data-column/data-column.component.ts b/lib/core/data-column/data-column.component.ts index 175f387bc4..3ca4e25213 100644 --- a/lib/core/data-column/data-column.component.ts +++ b/lib/core/data-column/data-column.component.ts @@ -15,7 +15,7 @@ * limitations under the License. */ - /* tslint:disable:component-selector */ + /* tslint:disable:component-selector no-input-rename */ import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core'; diff --git a/lib/core/directives/highlight.directive.ts b/lib/core/directives/highlight.directive.ts index 78a6db810c..875a87ae9e 100644 --- a/lib/core/directives/highlight.directive.ts +++ b/lib/core/directives/highlight.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, ElementRef, Input, Renderer } from '@angular/core'; import { HighlightTransformService, HightlightTransformResult } from '../services/highlight-transform.service'; diff --git a/lib/core/directives/node-delete.directive.ts b/lib/core/directives/node-delete.directive.ts index aa6b281ca4..92522be416 100644 --- a/lib/core/directives/node-delete.directive.ts +++ b/lib/core/directives/node-delete.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, ElementRef, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core'; import { MinimalNodeEntity, MinimalNodeEntryEntity } from 'alfresco-js-api'; import { Observable } from 'rxjs/Observable'; diff --git a/lib/core/directives/node-favorite.directive.ts b/lib/core/directives/node-favorite.directive.ts index 6044899f0b..bbebf938c7 100644 --- a/lib/core/directives/node-favorite.directive.ts +++ b/lib/core/directives/node-favorite.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, EventEmitter, HostListener, Input, OnChanges, Output } from '@angular/core'; import { FavoriteBody, MinimalNodeEntity } from 'alfresco-js-api'; import { Observable } from 'rxjs/Observable'; diff --git a/lib/core/directives/node-permission.directive.ts b/lib/core/directives/node-permission.directive.ts index 0df5b49e87..9370d1d43b 100644 --- a/lib/core/directives/node-permission.directive.ts +++ b/lib/core/directives/node-permission.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { ChangeDetectorRef, Directive, ElementRef, Host, Inject, Input, OnChanges, Optional, Renderer2, SimpleChanges } from '@angular/core'; import { MinimalNodeEntity } from 'alfresco-js-api'; import { ContentService } from './../services/content.service'; diff --git a/lib/core/directives/node-restore.directive.ts b/lib/core/directives/node-restore.directive.ts index 2815233237..68839b7deb 100644 --- a/lib/core/directives/node-restore.directive.ts +++ b/lib/core/directives/node-restore.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:component-selector no-input-rename */ + import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core'; import { Router } from '@angular/router'; import { DeletedNodeEntry, DeletedNodesPaging, PathInfoEntity } from 'alfresco-js-api'; diff --git a/lib/core/directives/upload.directive.ts b/lib/core/directives/upload.directive.ts index 35b25b1028..a0800e34cb 100644 --- a/lib/core/directives/upload.directive.ts +++ b/lib/core/directives/upload.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { Directive, ElementRef, HostListener, Input, NgZone, OnDestroy, OnInit, Renderer } from '@angular/core'; import { FileInfo, FileUtils } from '../utils/file-utils'; diff --git a/lib/core/form/components/widgets/checkbox/checkbox.widget.ts b/lib/core/form/components/widgets/checkbox/checkbox.widget.ts index ad517c3513..a4ccf77b95 100644 --- a/lib/core/form/components/widgets/checkbox/checkbox.widget.ts +++ b/lib/core/form/components/widgets/checkbox/checkbox.widget.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -/* tslint:disable:component-selector */ +/* tslint:disable:component-selector no-input-rename */ import { Component, ViewEncapsulation } from '@angular/core'; import { WidgetVisibilityService } from '../../../services/widget-visibility.service'; diff --git a/lib/core/form/components/widgets/number/number.widget.ts b/lib/core/form/components/widgets/number/number.widget.ts index 513fd1833e..476f182328 100644 --- a/lib/core/form/components/widgets/number/number.widget.ts +++ b/lib/core/form/components/widgets/number/number.widget.ts @@ -15,7 +15,7 @@ * limitations under the License. */ - /* tslint:disable:component-selector */ + /* tslint:disable:component-selector no-input-rename */ import { Component, ViewEncapsulation } from '@angular/core'; import { FormService } from './../../../services/form.service'; diff --git a/lib/core/form/components/widgets/text/text-mask.component.ts b/lib/core/form/components/widgets/text/text-mask.component.ts index 98474b9be1..c53f33f78e 100644 --- a/lib/core/form/components/widgets/text/text-mask.component.ts +++ b/lib/core/form/components/widgets/text/text-mask.component.ts @@ -15,7 +15,7 @@ * limitations under the License. */ - /* tslint:disable: component-selector, no-use-before-declare */ + /* tslint:disable: component-selector no-use-before-declare no-input-rename */ import { Directive, diff --git a/lib/core/pagination/infinite-pagination.component.ts b/lib/core/pagination/infinite-pagination.component.ts index 891813ab64..912e0e71bd 100644 --- a/lib/core/pagination/infinite-pagination.component.ts +++ b/lib/core/pagination/infinite-pagination.component.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { ChangeDetectionStrategy, Component, diff --git a/lib/insights/analytics-process/components/widgets/checkbox/checkbox.widget.ts b/lib/insights/analytics-process/components/widgets/checkbox/checkbox.widget.ts index 071d895cc1..d41b2a5b62 100644 --- a/lib/insights/analytics-process/components/widgets/checkbox/checkbox.widget.ts +++ b/lib/insights/analytics-process/components/widgets/checkbox/checkbox.widget.ts @@ -15,14 +15,13 @@ * 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 { FormGroup } from '@angular/forms'; -import { WidgetComponent } from './../widget.component'; + import { Component, ElementRef, Input, ViewEncapsulation } from '@angular/core'; + import { FormGroup } from '@angular/forms'; + import { WidgetComponent } from './../widget.component'; -@Component({ + @Component({ selector: 'analytics-checkbox-widget', templateUrl: './checkbox.widget.html', encapsulation: ViewEncapsulation.None diff --git a/lib/insights/analytics-process/components/widgets/date-range/date-range.widget.ts b/lib/insights/analytics-process/components/widgets/date-range/date-range.widget.ts index 188253c822..83b17f1fff 100644 --- a/lib/insights/analytics-process/components/widgets/date-range/date-range.widget.ts +++ b/lib/insights/analytics-process/components/widgets/date-range/date-range.widget.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { MOMENT_DATE_FORMATS, MomentDateAdapter, UserPreferencesService } from '@alfresco/adf-core'; import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; import { AbstractControl, FormControl, FormGroup, Validators } from '@angular/forms'; diff --git a/lib/insights/analytics-process/components/widgets/dropdown/dropdown.widget.ts b/lib/insights/analytics-process/components/widgets/dropdown/dropdown.widget.ts index 494e3317df..3b22d15b9e 100644 --- a/lib/insights/analytics-process/components/widgets/dropdown/dropdown.widget.ts +++ b/lib/insights/analytics-process/components/widgets/dropdown/dropdown.widget.ts @@ -15,9 +15,8 @@ * 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 { FormControl, FormGroup, Validators } from '@angular/forms'; import { WidgetComponent } from './../widget.component'; diff --git a/lib/insights/analytics-process/components/widgets/duration/duration.widget.ts b/lib/insights/analytics-process/components/widgets/duration/duration.widget.ts index d6cc715e91..6f45fe3485 100644 --- a/lib/insights/analytics-process/components/widgets/duration/duration.widget.ts +++ b/lib/insights/analytics-process/components/widgets/duration/duration.widget.ts @@ -15,9 +15,8 @@ * 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 { FormControl, FormGroup, Validators } from '@angular/forms'; import { ParameterValueModel } from '../../../../diagram/models/report/parameterValue.model'; diff --git a/lib/insights/analytics-process/components/widgets/number/number.widget.ts b/lib/insights/analytics-process/components/widgets/number/number.widget.ts index b56a9adb20..dc05a57f76 100644 --- a/lib/insights/analytics-process/components/widgets/number/number.widget.ts +++ b/lib/insights/analytics-process/components/widgets/number/number.widget.ts @@ -15,9 +15,8 @@ * 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 { FormGroup, Validators } from '@angular/forms'; import { WidgetComponent } from './../widget.component'; diff --git a/lib/process-services/process-list/components/process-audit.directive.ts b/lib/process-services/process-list/components/process-audit.directive.ts index 59c8ba26d5..44883d76ed 100644 --- a/lib/process-services/process-list/components/process-audit.directive.ts +++ b/lib/process-services/process-list/components/process-audit.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { ContentService } from '@alfresco/adf-core'; import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; import { ProcessService } from './../services/process.service'; diff --git a/lib/process-services/task-list/components/task-audit.directive.ts b/lib/process-services/task-list/components/task-audit.directive.ts index 58ebc074fe..70a55f9681 100644 --- a/lib/process-services/task-list/components/task-audit.directive.ts +++ b/lib/process-services/task-list/components/task-audit.directive.ts @@ -15,6 +15,8 @@ * limitations under the License. */ +/* tslint:disable:no-input-rename */ + import { ContentService } from '@alfresco/adf-core'; import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core'; import { TaskListService } from './../services/tasklist.service'; diff --git a/lib/tslint.json b/lib/tslint.json index 5223f41fe6..30715c9ee9 100644 --- a/lib/tslint.json +++ b/lib/tslint.json @@ -156,6 +156,8 @@ "no-access-missing-member": false, "adf-file-name": true, "adf-class-name": true, - "adf-prefix-name": true + "adf-prefix-name": true, + "no-input-rename": true, + "no-output-rename": true } }