2

I'm new to the typescript world and would like to find out


since typescript compiler tsc.cmd already handle all the static analysis/check job which Typescript features , so why do we also need another TSlint? Are part of their function overlapping or any compelling reason? thanks.

1
  • tslint manages a bunch of rules that has only aesthetics purpose, eg: code indentation. Commented Jul 5, 2018 at 4:49

1 Answer 1

2

Linting tools like TSLint allow developers to discover problems with their code without executing it.

The built in compiler of Typescript will discover problems only when you transpile(compile) the code.

TSLint instead will alert you while you're typing, which is much faster as you do not have to wait until the Typescript compiler reaches the point in code where the error is located.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.