Skip to content

Commit b407044

Browse files
jrmcdonaMarkPieszak
authored andcommitted
adding tslint config to angular-cli for the ng lint command (#407)
1 parent f489940 commit b407044

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.angular-cli.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,13 @@
1313
"component": {
1414
"spec": false
1515
}
16-
}
16+
},
17+
"lint":[
18+
{
19+
"project": "ClientApp/tsconfig.app.json"
20+
},
21+
{
22+
"project": "ClientApp/tsconfig.spec.json"
23+
}
24+
]
1725
}

ClientApp/tsconfig.app.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/app",
5+
"module": "es2015",
6+
"baseUrl": "",
7+
"types": []
8+
},
9+
"exclude": [
10+
"test.ts",
11+
"**/*.spec.ts"
12+
]
13+
}

0 commit comments

Comments
 (0)