At this moment usually we have the following build workflow
Run tslint for files via gulp-tslint
tslint parses each file and build syntax tree via typescript api.
tslint executes rules on parsed syntax tree
Run typescript compiler via gulp-typescript plugin
typescript compiler again parses each file and build syntax tree via it's own api and compiler host.
So, is it possible to parse each file only once and share syntax tree for each file between gulp-typescript and gulp-tslint? I mean that the following pseudo code
Hello!
At this moment usually we have the following build workflow
So, is it possible to parse each file only once and share syntax tree for each file between gulp-typescript and gulp-tslint? I mean that the following pseudo code
could share the same syntax tree between
pipe(tslint())
andpipe(typescript())
. This would make full build much faster.Thanks for handy plugin, it's really useful!