mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
+ Use `cosmiconfig` instead of rolling our own code (which gives us YAML support)
+ Look for the config in these locations, and in this order:
+ A `jsdoc` property in `package.json`
+ `.jsdocrc` (can be JSON or YAML; comments not allowed for JSON)
+ `.jsdocrc.json` (comments allowed)
+ `.jsdocrc.yaml`
+ `.jsdocrc.yml`
+ `.jsdocrc.js`
+ `jsdoc.config.js`
12 lines
143 B
Markdown
12 lines
143 B
Markdown
# @jsdoc/config
|
|
|
|
Loads configuration settings for JSDoc.
|
|
|
|
## Installing the package
|
|
|
|
Using npm:
|
|
|
|
```shell
|
|
npm install --save @jsdoc/config
|
|
```
|