Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning up existing JSDoc comments; Excluding props for typedefs #472

Merged
merged 2 commits into from
Oct 22, 2023

Conversation

leekahung
Copy link
Contributor

This PR:

Originally planned to fix Issue #471 with this PR, but the idea fell out when the solution failed to work. In the meantime, I've patched most of the JSDoc comments in the codebase in several locations.

This PR moves all component Props out of typedefs.js and having it closer to the component. This is done by having them defined directly in the JSDoc comment above the component.

Future Steps/PRs Needed to Finish This Work (optional):

While this cleans up some of the JSDoc comments, the bug pointed out in Issue #471 remains. At this time, there isn't a ESLint rule in our existing configuration to pick up when a specific typedef is no longer in use in the file like that of a unused variable or module/library import. For that I'll be issuing a new issue for eslint-plugin-jsdoc on their GitHub repo about this. Hopefully there's a solution to this or a new ESLint rule could be included for that.

Issues needing discussion/feedback (optional):

1. Issue #471

@leekahung leekahung self-assigned this Oct 22, 2023
@leekahung leekahung added documentation Improvements or additions to documentation discovery Open discussion and exploration of topic on hand labels Oct 22, 2023
@leekahung leekahung requested a review from ogorman89 October 22, 2023 04:46
@leekahung leekahung merged commit 974432d into Development Oct 22, 2023
@leekahung leekahung deleted the cleanup-jsdoc branch October 22, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery Open discussion and exploration of topic on hand documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants