ipfs / ipfs/aegir

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

Open
#1,327 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
105
Forks
62
PR merge metrics
No merged PRs in 30d

Description

**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 https://github.com/libp2p/js-libp2p/pull/1505#issuecomment-1612153921 for more context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.