1 | > Load shared commitlint configuration
|
2 |
|
3 | # @commitlint/load
|
4 |
|
5 | ## Getting started
|
6 |
|
7 | ```shell
|
8 | npm install --save-dev @commitlint/load
|
9 | ```
|
10 |
|
11 | ## Example
|
12 |
|
13 | ```js
|
14 | const load = require('@commitlint/load').default;
|
15 |
|
16 | load({extends: ['./package']}).then((config) => console.log(config));
|
17 | // => { extends: ['./package', './package-b'], rules: {} }
|
18 | ```
|
19 |
|
20 | Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.
|