[ADF-859] add codelyzer in core and datatable (#2056)

* add codelyzer in core and datatable

* add codelyzer in the main build

* order imports

* fix import in test

* fix import test

* import reorder form

* tasklist and processlist import reorder
This commit is contained in:
Eugenio Romano
2017-07-07 10:20:41 +02:00
committed by Eugenio Romano
parent 9870964c0e
commit 53a614bfbf
388 changed files with 9335 additions and 2242 deletions

View File

@@ -15,20 +15,20 @@
* limitations under the License.
*/
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { CardView } from './adf-card-view.component';
import { CardViewModel } from '../../models/card-view.model';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { CardViewModel } from '../../models/card-view.model';
import { CardViewComponent } from './adf-card-view.component';
describe('AdfCardView', () => {
let fixture: ComponentFixture<CardView>;
let component: CardView;
let fixture: ComponentFixture<CardViewComponent>;
let component: CardViewComponent;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
CardView
CardViewComponent
],
providers: [
]
@@ -36,7 +36,7 @@ describe('AdfCardView', () => {
}));
beforeEach(() => {
fixture = TestBed.createComponent(CardView);
fixture = TestBed.createComponent(CardViewComponent);
component = fixture.componentInstance;
});

View File

@@ -16,15 +16,15 @@
*/
import { Component, Input } from '@angular/core';
import { CardViewModel } from '../../models/card-view.model';
import * as moment from 'moment';
import { CardViewModel } from '../../models/card-view.model';
@Component({
selector: 'adf-card-view',
templateUrl: './adf-card-view.component.html',
styleUrls: ['./adf-card-view.component.css']
})
export class CardView {
export class CardViewComponent {
@Input()
properties: CardViewModel [];

View File

@@ -15,19 +15,19 @@
* limitations under the License.
*/
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CardView } from './adf-card-view.component';
import { NgModule } from '@angular/core';
import { CardViewComponent } from './adf-card-view.component';
@NgModule({
imports: [
CommonModule
],
declarations: [
CardView
CardViewComponent
],
exports: [
CardView
CardViewComponent
]
})
export class CardViewModule {}