← Back
code-quality tools tslint

Enforce jsdoc comments with tslint

One of the great advantages of having types is that the code is much more documented: it is easy to know what data (and shape) you handle in each situation, without having to dive through the code.

Today I discovered a new feature that, of course, I'm going to start using: jsdoc mandatory.

It comes with tslint out of the box. Here is my current configuration (wip) at tslint.json file:

tslint configuration

🖖