Skip to content

Commit 052ccbb

Browse files
filipesilvaBrocco
authored andcommitted
fix(@angular/cli): always ignore node_modules for lint
Fix angular#6626
1 parent a2048ec commit 052ccbb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/@angular/cli/blueprints/ng/files/angular-cli.json

+6-3
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)