ekalinin / robots.js

Parser for robots.txt for node.js
MIT License
66 stars 21 forks source link

Fix incorrect JSDoc comments + add linting of them #31

Closed voxpelli closed 6 years ago

voxpelli commented 6 years ago

When I started using Typescript to lint the types in my javascript files, through their JSDoc comments, I ran across an issue where it, when it found the JSDoc comments of this project, complained that I used this module wrongly.

I decided to go ahead and validate all of the JSDoc comments of this project + create a Typescript setup that can be used to continue to validate the JSDoc comments against the code

I hope this PR is not too big, I can try to break it down if you want me to.

ekalinin commented 6 years ago

Great patch! Thanks a lot!