-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
fix(semantic): Refactor jsdoc finding #2437
Conversation
Thank you so much for trying to implement one of the hardest part of this project ❤️ You are free to rewrite everything if you think it's necessary. What I wrote is just a prototype to initiate eslint-plugin-jsdoc. You have write permission, you may try graphite with stacked PRs. |
CodSpeed Performance ReportMerging #2437 will not alter performanceComparing Summary
|
This is so true! 😂 The more I looked into it, the more I got confused... Although there are many usecases for JSDoc comments and also implementations(I've learned JSDoc TS, jsdoc.app, eslint-plugin-jsdoc are all differently implemented 🫠), if we set primary goal to implement |
Yeah the first goal is to get By looking at the dependencies of
|
Thank you so much~! I'm just now deciphering that code base... 🕵🏻♂️ |
Feels like I can merge this as is after looking at the code. |
There are a few things I want to fix here.
(Of course, feel free to merge first. I'll send a PR for this later.) |
Thank you so much for working on this, we'll get there eventually 😁 It seems like we're a little bit closer to https://github.com/import-js/eslint-plugin-import/blob/v2.29.1/docs/rules/no-deprecated.md Let me setup the code for it. |
Oh, JSDoc everywhere! 😮 Now I can understand this kind of things easily...
Wish you luck. 🚀 |
Partial fix for oxc-project#168 - [x] Fix general finding behavior for leading comments - [x] Accept multiple jsdoc comments per node - [x] Provide `get_one` and also `get_all` - [x] Add `iter_all()` for non-node related usage - [x] Limit AST node kinds to parse
Partial fix for #168
get_one
and alsoget_all
iter_all()
for non-node related usage