Motivation
We have an Nx monorepo where the public API for libraries are defined in a single file: libs/path/to/lib/src/index.ts.
The publicOnly option for the jsdoc/require-jsdoc rule does not allow me to specify where the public API is defined.
Current behavior
The publicOnly option only checks if it is exported in general.
Desired behavior
The publicOnly option lets me specify a list of files that define my public API and only checks the ones explicitly exported from those files.
Alternatives considered