<commit_before># Shareable configuration

```js
// .commitlint
{
  "extends": ["example"] // => @commitlint-config-example
}
```

Every array item found in `extends` is resolved to `commitlint-config-${name}`. The default main export found there is merged into the configuration with increasing precedence. This works recursively, enabling shareable configuration to extend on an indefinite chain of other shareable configurations.

Special cases are scoped extend items those are not prefixed.

```js
// .commitlint
{
  "extends": ["@commitlint/config-angular"] // => @commitlint/config-angular
}
```

The same is true for relative imports

```js
// .commitlint
{
  "extends": ["./example"] // => ./example.js
}
```

See the [angular](../@commitlint/config-angular) shareable configuration as example. This configuration is the default used by `commitlint`.
<commit_msg>docs: refine shareable-config docs<commit_after># Shareable configuration

Every array item found in `extends` is resolved to `commitlint-config-${name}`.

The default main export found there is merged into the configuration with increasing precedence.

This works recursively, enabling shareable configuration to extend on an indefinite chain of other shareable configurations.


```js
// .commitlint
{
  "extends": ["example"] // => @commitlint-config-example
}
```

Special cases are scoped extend items those are not prefixed.

```js
// .commitlint
{
  "extends": ["@commitlint/config-angular"] // => @commitlint/config-angular
}
```

The same is true for relative imports

```js
// .commitlint
{
  "extends": ["./example"] // => ./example.js
}
```

{'fraction_non_alphanumeric': 0.13054187192118227, 'fraction_numerical': 0.0, 'mean_word_length': 4.327868852459017, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5866540', 'n_tokens_mistral': 470, 'n_tokens_neox': 446, 'n_words': 168}