Skip to content

Commit

Permalink
fix(@angular/cli): always ignore node_modules for lint
Browse files Browse the repository at this point in the history
Fix #6626
  • Loading branch information
filipesilva authored and hansl committed Jul 14, 2017
1 parent 962b028 commit 6ad27c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/@angular/cli/blueprints/ng/files/angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,16 @@
},
"lint": [
{
"project": "<%= sourceDir %>/tsconfig.app.json"
"project": "<%= sourceDir %>/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "<%= sourceDir %>/tsconfig.spec.json"
"project": "<%= sourceDir %>/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json"
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
Expand Down

0 comments on commit 6ad27c5

Please sign in to comment.