Linting tools

The following tool is a code linting tool. A linting tool helps us to enforce certain code styling rules in our code base. For example, in a large development team, it is very common to have long discussions about the code styling.

The term code styling refers to certain cosmetic elements of our code, such as using spaces or tabs. However, sometimes the code styling involves certain rules that are not purely cosmetic and are intended to make our code more maintainable. A good example of this would be a code styling rule that enforces using trailing commas.

Code styling guidelines and rules are great but enforcing them can take a significant amount of human effort. We would have to review every single code change to make sure ...

Get Learning TypeScript 2.x - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.