-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
jsdoc dependency rules changed #50452
Comments
Can I pick this one, @gziolo? |
Sure, that would be great. Thank you for volunteering @ksharma20! I guess we need to update the code in two places. We need to change the existing ESLint config for JSDoc and the rule mentioned is listed in this line (there might be more places):
We would also need to upgrade to the latest version the package with the JSDoc rules listed here:
|
Great, that's really helpful & appreciated! Thank you. |
Hey @gziolo, should I change
I have removed the below line. Is it okay?
And Upgraded jsdoc to v42.0.0 (reference line below), or show I take it to the latest v44.2.2?
I'm not sure what else needs to be changed! Thank you in advance! 🤗 |
The changelog for the package contains all recommendations.
Yes, the latest version would be the preferred one. |
Appreciated. Thank you, sir. 🤗 |
So, now my final changes are: 1.) Version Upgrade 2.) Removing Line 3.) Modifying Line 'jsdoc/tag-lines': [
'error',
{
startLines: 0,
endLines: 0,
applyToEndTag: false,
}
] Are these the only changes required @gziolo ? |
I haven't tested it, but it might be it code-wise. There will be some changes to the lock file after |
I opened #53629 to bring the work started by @ksharma20 to the finish line. It also will unblock usage with Node 20. |
Description
jsdoc/newline-after-description was removed by jsdoc but is used here producing an error:
See https://github.com/gajus/eslint-plugin-jsdoc/releases/tag/v42.0.0
There is a new default in
jsdoc/tag-lines
which does the same thing, which means removing this rule should be sufficient.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
This package v14.5.0, jsdoc v42.0.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: