When jsdoc/require-jsdoc is configured with publicOnly: true for method definitions, there should be no error for private methods that lack docs.
Actual behavior
When jsdoc/require-jsdoc is configured with publicOnly: true for method definitions, it gives an error for private methods (prefixed with #) that lack docs.
This is similar to https://github.com/gajus/eslint-plugin-jsdoc/issues/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.0