Skip to content

Require jsdoc only for everything exported from a specific file #1200

@ashwinGokhale

Description

@ashwinGokhale

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions