Open tvvignesh opened 1 year ago
If this can be useful to anyone.. I thought I could create a quick ESLint rule to fix this and got down the rabbit hole: https://gist.github.com/nbouvrette/f2c90316533e5a6c1f7702e35e4a586a
There are a lot of details to check but I think this covers most of the @param
validity.
You can use it locally with the correct setup (more info here: https://github.com/typescript-eslint/typescript-eslint/issues/7284#issuecomment-1679071389)
Hi. I installed the tsdoc plugin and while it works well, its unable to detect invalid params like the one you see below. Kindly let me know how to validate such param. Thanks
As you see 2 params doesn't exist but the linter doesn't pick it up