Closed greimela closed 6 years ago
Does the error persist with gulp-tslint 8?
Sorry for the late answer, but we were not able to migrate to tslint 5 yet. Therefore I could not test it with gulp-tslint 8 by now.
Follow-up:
I was able to fix the error by using ts.getPreEmitDiagnostics(program)
as suggested in #105.
gulp-tslint version: 7.1.0 tslint version: 4.5.1 typescript version: 2.1.6 Operating system: Ubuntu 16.04
When running gulp-tslint with type checking enabled, the task prints the warning shown in the console output below. What is the reason for these warnings? Any rules specified are checked correctly, as far as I can see.
Console output:
Used gulp configuration:
Content of
src/foo.ts
: