add codelyzer in webscript tag and social (#2061)

This commit is contained in:
Eugenio Romano
2017-07-07 19:28:10 +02:00
parent c974da301d
commit 12d2224129
49 changed files with 61232 additions and 7945 deletions

View File

@@ -42,7 +42,8 @@ module.exports = {
loader: 'tslint-loader',
options: {
emitErrors: true,
failOnHint: true
failOnHint: true,
fix: true
},
exclude: [/node_modules/, /bundles/, /dist/, /demo/]
},

File diff suppressed because it is too large Load Diff

View File

@@ -48,6 +48,7 @@
"@types/node": "6.0.45",
"angular2-template-loader": "0.6.2",
"autoprefixer": "6.5.4",
"codelyzer": "3.1.2",
"copy-webpack-plugin": "4.0.1",
"css-loader": "0.23.1",
"css-to-string-loader": "0.1.2",

View File

@@ -15,10 +15,10 @@
* limitations under the License.
*/
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { LikeComponent } from '../components/like.component';
import { DebugElement } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CoreModule } from 'ng2-alfresco-core';
import { LikeComponent } from '../components/like.component';
import { RatingService } from '../services/rating.service';
declare let jasmine: any;

View File

@@ -15,10 +15,10 @@
* limitations under the License.
*/
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { RatingComponent } from '../components/rating.component';
import { DebugElement } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CoreModule } from 'ng2-alfresco-core';
import { RatingComponent } from '../components/rating.component';
import { RatingService } from '../services/rating.service';
declare let jasmine: any;

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { TestBed, async } from '@angular/core/testing';
import { async, TestBed } from '@angular/core/testing';
import { CoreModule } from 'ng2-alfresco-core';
import { RatingService } from '../services/rating.service';

View File

@@ -1,4 +1,7 @@
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"align": [
true,
@@ -113,6 +116,7 @@
"check-type",
"check-module",
"check-decl"
]
],
"ordered-imports": true
}
}