Skip to content

docs: Run lint on TS snippets in markdown when running doc-check #1327

Description

@maschad

Is your feature request related to a problem? Please describe.

The doc-check command compiles Typescript snippets in Markdown files but doesn't enforce the linting rules.
Describe the solution you'd like

Modify the doc-check command to also lint the TS snippets according to the tsconfig.json

See libp2p/js-libp2p#1505 (comment) for more context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions