Skip to content

Commit 975bcad

Browse files
Broccohansl
authored andcommitted
fix(@schematics/angular): Add missing exclude rule for linting
fixes #144
1 parent c422272 commit 975bcad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/schematics/angular/application/files/__dot__angular-cli.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@
3636
},
3737
"lint": [
3838
{
39-
"project": "<%= sourceDir %>/tsconfig.app.json"
39+
"project": "<%= sourceDir %>/tsconfig.app.json",
40+
"exclude": "**/node_modules/**"
4041
},
4142
{
42-
"project": "<%= sourceDir %>/tsconfig.spec.json"
43+
"project": "<%= sourceDir %>/tsconfig.spec.json",
44+
"exclude": "**/node_modules/**"
4345
},
4446
{
45-
"project": "e2e/tsconfig.e2e.json"
47+
"project": "e2e/tsconfig.e2e.json",
48+
"exclude": "**/node_modules/**"
4649
}
4750
],
4851
"test": {

0 commit comments

Comments
 (0)