Open unional opened 7 years ago
Do you get the same error when running tslint manually using the cli?
Nope.
You should update to gulp-tslint 8, then try if the error persists.
I have reproduced the case. The trick here is that if you tried to lint something that isn't covered by tsconfig.json
globs, it result in undefined source, triggering the failure. For my case, it was node_modules, so adjusting the glob deliberately to exclude irrelevant files solved the error.
gulp-tslint version: 7.1.0 tslint version: 5.2.0 Operating system: OSX
Example gulp configuration (if applicable): With type-checking
Error console output: