feat(enrichment): analyze .mts/.cts files for doc-comment drift - #3393
Conversation
doc-comment-drift's SOURCE_RE gated on ts/tsx/js/jsx/mjs/cjs but omitted the TypeScript module extensions .mts/.cts, even though it already includes their JavaScript siblings .mjs/.cjs. So JSDoc/TSDoc @param drift in .mts/.cts files was never analyzed despite FUNC_DECL_RE parsing their signatures fine (the sibling undocumented-export analyzer already scans .mts/.cts). Add both to SOURCE_RE and extend the drift test to cover them.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 06:02:53 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 1 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
doc-comment-drift's SOURCE_RE gated on ts/tsx/js/jsx/mjs/cjs but omitted the TypeScript module extensions .mts/.cts, even though it already includes their JavaScript siblings .mjs/.cjs. So JSDoc/TSDoc @param drift in .mts/.cts files was never analyzed despite FUNC_DECL_RE parsing their signatures fine (the sibling undocumented-export analyzer already scans .mts/.cts). Adds both to SOURCE_RE + extends the drift test. rees build + node:test green (533).