[ADF-1103] Add custom tslint rules to avoid unwanted Class and File name prefix (#2087)

* custom tslint rules adf project name files

* filename and class prefix rule

* filename process service mock

* fix spec filename

* fix demo shell

* rename mock

* alias deprecated name class

* core rename services

* fix pacakge.json adf-rules

* add exclude in whitelist
This commit is contained in:
Eugenio Romano
2017-07-15 21:59:31 +01:00
parent 77c8ef459f
commit a8eac42c05
215 changed files with 3442 additions and 946 deletions

View File

@@ -17,11 +17,11 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CoreModule } from 'ng2-alfresco-core';
import { AdfEmptyListComponent } from './adf-empty-list.component';
import { EmptyListComponent } from './empty-list.component';
describe('AdfEmptyListComponentComponent', () => {
let component: AdfEmptyListComponent;
let fixture: ComponentFixture<AdfEmptyListComponent>;
describe('EmptyListComponentComponent', () => {
let component: EmptyListComponent;
let fixture: ComponentFixture<EmptyListComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
@@ -29,11 +29,11 @@ describe('AdfEmptyListComponentComponent', () => {
CoreModule.forRoot()
],
declarations: [
AdfEmptyListComponent
EmptyListComponent
]
}).compileComponents();
fixture = TestBed.createComponent(AdfEmptyListComponent);
fixture = TestBed.createComponent(EmptyListComponent);
component = fixture.componentInstance;
}));

View File

@@ -19,10 +19,10 @@ import { Component, Input } from '@angular/core';
@Component({
selector: 'adf-empty-list',
styleUrls: ['./adf-empty-list.component.css'],
templateUrl: './adf-empty-list.component.html'
styleUrls: ['./empty-list.component.css'],
templateUrl: './empty-list.component.html'
})
export class AdfEmptyListComponent {
export class EmptyListComponent {
@Input()
emptyListImageUrl: string = require('../../assets/images/empty_doc_lib.svg');