You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
458 B
21 lines
458 B
2 years ago
|
> Load shared commitlint configuration
|
||
|
|
||
|
# @commitlint/load
|
||
|
|
||
|
## Getting started
|
||
|
|
||
|
```shell
|
||
|
npm install --save-dev @commitlint/load
|
||
|
```
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```js
|
||
|
const load = require('@commitlint/load').default;
|
||
|
|
||
|
load({extends: ['./package']}).then((config) => console.log(config));
|
||
|
// => { extends: ['./package', './package-b'], rules: {} }
|
||
|
```
|
||
|
|
||
|
Consult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.
|