Show HN: Catch hidden exceptions in JavaScript with ESLint and JSDoc

2 Xvezda 0 5/25/2025, 6:49:31 PM github.com ↗
I've built an ESLint plugin that enforces explicit exception documentation using JSDoc's @throws tag, similar to Java's `throws`.

It currently provides two rules: - `no-undocumented-throws`: flags functions that throw without a corresponding @throws tag - `no-implicit-propagation`: flags functions that call other @throws-documented functions without documenting the propagated exception

It includes auto-fixers, type-aware validation using TypeScript, and support for Promise rejections.

Would appreciate any feedback or suggestions.

Comments (0)

No comments yet