Skip to content
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

TsLint in gulp process #13

Closed
talmog opened this issue Jan 12, 2016 · 1 comment
Closed

TsLint in gulp process #13

talmog opened this issue Jan 12, 2016 · 1 comment

Comments

@talmog
Copy link

talmog commented Jan 12, 2016

Thank you for this repo, it is great!

I would like to have tslint run on every ts change and log it to the console warning after every save. right now if I add 'ts-lint' to serve it errors out and will not run the server.
Could you help with that please?
Thank you!

@antonybudianto
Copy link
Owner

Hello, thanks for trying the starter!
You could add tslint to the compileTs pipe:

function compileTs(files) {
    var res = gulp.src(files, {
            base: '.'
        })
        .pipe(tslint())
        .pipe(tslint.report('prose', {
            summarizeFailureOutput: true
        }))
...

I'll be adding this soon to master 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants