-
-
Notifications
You must be signed in to change notification settings - Fork 160
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/require-hyphen-before-param-description
not fixing all auto-fixable problems
#1074
Comments
I even noticed something even stranger now. It cannot fix the /**
* Update a foo
*
* @public
*
* @param {Test} test The test
*
* @returns {Promise<Test>} - The test
*/ It does work/fix a lot of problems, but also does not work/fix some problems even though they to me all look the same. I cannot find a pattern. |
You have |
As far as the |
…ment for hyphen removal; fixes gajus#1074
🎉 This issue has been resolved in version 44.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
Ok, I see, but have you tested again against the latest version? Seems to be working to add the hyphen for the param if the |
Tested with the latest release, and it seemed to solve all problems. Even the strange one with |
Expected behavior
I expect
jsdoc/require-hyphen-before-param-description
to auto-fix all problems.Actual behavior
It does not remove the hyphen before returns in all scenarios. See example below.
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 44.0.2The text was updated successfully, but these errors were encountered: