-
-
Notifications
You must be signed in to change notification settings - Fork 156
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-jsdoc - publicOnly not working with private methods (using #) #1212
Closed
aws-sde opened this issue
Mar 7, 2024
· 1 comment
· Fixed by #1213 · May be fixed by junsulee/juice-shop#4
Closed
jsdoc/require-jsdoc - publicOnly not working with private methods (using #) #1212
aws-sde opened this issue
Mar 7, 2024
· 1 comment
· Fixed by #1213 · May be fixed by junsulee/juice-shop#4
Labels
Comments
brettz9
added a commit
to brettz9/eslint-plugin-jsdoc
that referenced
this issue
Mar 7, 2024
brettz9
added a commit
that referenced
this issue
Mar 7, 2024
🎉 This issue has been resolved in version 48.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is similar to #1124 but it's using
#
instead of TypeScript'sprivate
Expected behavior
When
jsdoc/require-jsdoc
is configured withpublicOnly: true
for method definitions, there should be no error for private methods that lack docs.Actual behavior
When
jsdoc/require-jsdoc
is configured withpublicOnly: true
for method definitions, it gives an error for private methods (prefixed with#
) that lack docs.ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: 48.2.0The text was updated successfully, but these errors were encountered: