docs: allow declaration-attached doc comments in the code style rules

This commit is contained in:
Chris Scott committed 2026-10-24 14:31:20 -04:00
1 parent 2e31cb45ba
commit 4d227e32da
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
### Must Flag as Issues
- Any code comments (code must be self-documenting)
- Inline, explanatory, or section comments (code must be self-documenting); JSDoc/TSDoc attached to the declaration it documents is allowed
- Console.log statements (use structured logging)
- Use of `any` type without justification
- Default exports (named exports only)
+1 -1
View File
@@ -9,7 +9,7 @@
## Checklist
- [ ] Code follows project style (no comments, named imports)
- [ ] Code follows project style (doc comments only, named imports)
- [ ] TypeScript types are properly defined
- [ ] Tests added/updated (80% coverage target)
- [ ] `pnpm lint` passes locally