/docs-utils

Utilities for parsing and validating JSDoc

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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:

npm install --save-dev @enact/docs-utils
  "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