deno_lint
deno_lint copied to clipboard
feat: add require-jsdoc rule
ref #970
added interfaces/classes jsdoc comment checks.
eslint-plugin-jsdoc/require-jsdoc
only checks FunctionDeclaration
by default, should we check classes/interfaces by default?
ref: https://github.com/gajus/eslint-plugin-jsdoc#require
@ah-yu the PR looked okay, what's the reason to close it?
@dsherret please review, should we add more feature before landing?
@bartlomieju Sorry for late response, I was kind of busy those days so I closed this PR. And I'd like to finish it.
Hi @ah-yu, is there any way we could progress this PR? This change could be valuable for modules that'd like to enforce documentation.
It would be definitely great to have something like rust #![warn(missing_docs)]
hopefully this gets picked up again, its really useful for library authors (and in my opinion it should be opt in like rust's)
Thanks, but we ended up going with a much more powerful linting system as part of deno doc
. For details, see this PR https://github.com/denoland/deno/pull/21032