-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid source file for a.pass.ts
#121
Comments
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 |
Refs palantir/tslint#2208 |
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:
Error: Invalid source file: align.pass.ts. Ensure that the files supplied to lint have a .ts, .tsx, .js or .jsx extension. at Linter.getSourceFile (/Users/hwong/github/unional/tslint-config-unional/node_modules/tslint/lib/linter.js:207:23) at Linter.lint (/Users/hwong/github/unional/tslint-config-unional/node_modules/tslint/lib/linter.js:74:31) at /Users/hwong/github/unional/tslint-config-unional/node_modules/gulp-tslint/index.js:102:16
The text was updated successfully, but these errors were encountered: