Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enactjs/docs-utils

Utilities for parsing and validating JSDoc
https://github.com/enactjs/docs-utils

Last synced: about 1 month ago
JSON representation

Utilities for parsing and validating JSDoc

Awesome Lists containing this project

README

        

# docs-utils

> Utilities for parsing and validating JSDoc

**Note:** Requires Node 14+.

## Standalone Usage

Can be used standalone to validate inline documentation. Add as a dev dependency and create an npm task:

```sh
npm install --save-dev @enact/docs-utils
```

```json
"validate-docs": "validate-docs --strict --standalone"
```

### Options

`--standalone` - Operate in standalone mode

`--strict` - Set exit code when warnings are discovered

`--path` - Path to scan for modules. Defaults to current directory