Javascript - Which eslint jsdoc rule/setting to force either @private, @public or @protected

Viewed 185

Is there any eslint jsdoc rule/setting to force either @private, @public or @protected? With the module eslint-plugin-jsdoc there is no rule/setting to force it.

Following example should throw a eslint jsdoc error:

/**
 * @param {string} foo
 */
function quux (foo) {

}

This jsDoc should not accepted because @private, @public or @protected are not available.

Maybe you can help me. Thanks.

0 Answers
Related