Tech
My code reviewer kept asking for JSDoc — so I built a zero-dep CLI that catches it first
I kept running eslint and thinking my codebase was fine — then someone opened a PR and the first comment was "this function needs JSDoc."
The problem: linters check your syntax . Nobody checks whether your exported API is actually documented. Those are two very different things.
So I built jsdocscan — a zero-dependency CLI that walks your JS/TS files and flags every exported function or class that is missing JSDoc, or has undocumented parameters.
What it catches
Err...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to