build: ignore node_modules for tslint

This commit is contained in:
Jason Aden 2017-07-31 17:43:12 -07:00 committed by Alex Rickabaugh
parent 9479a106bb
commit 82b067fc40
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ module.exports = (gulp) => () => {
'./tools/**/*.ts', './tools/**/*.ts',
'./*.ts', './*.ts',
// Ignore node_modules directories
'!**/node_modules/**',
// Ignore TypeScript mocks because it's not managed by us // Ignore TypeScript mocks because it's not managed by us
'!./tools/@angular/tsc-wrapped/test/typescript.mocks.ts', '!./tools/@angular/tsc-wrapped/test/typescript.mocks.ts',