<commit_before># Covalent husky hooks

Create a `.huskyrc.js` file at the root of your project.

## Basic setup:

```js
const { covalentHooks, generateHuskyConfig } = require('./src/platform/coding-standards/husky/husky.js');
const huskyHooks = generateHuskyConfig(covalentHooks());
module.exports = huskyHooks;
```

## Extend hooks setup

```js
const { covalentHooks, generateHuskyConfig } = require('./src/platform/coding-standards/husky/husky.js');
const hooks = covalentHooks();
hooks['pre-commit'] = [...hooks['pre-commit'], 'npm audit'];
const huskyHooks = generateHuskyConfig(hooks);
module.exports = huskyHooks;
```
<commit_msg>docs(coding-standards/husky): fix path in docs (#1553)<commit_after># Covalent husky hooks

Create a `.huskyrc.js` file at the root of your project.

## Basic setup:

```js
const { covalentHooks, generateHuskyConfig } = require('./node_modules/@covalent/coding-standards/husky/husky.js');
const huskyHooks = generateHuskyConfig(covalentHooks());
module.exports = huskyHooks;
```

## Extend hooks setup

```js
const { covalentHooks, generateHuskyConfig } = require('./node_modules/@covalent/coding-standards/husky/husky.js');
const hooks = covalentHooks();
hooks['pre-commit'] = [...hooks['pre-commit'], 'npm audit'];
const huskyHooks = generateHuskyConfig(hooks);
module.exports = huskyHooks;
```

{'fraction_non_alphanumeric': 0.15753938484621155, 'fraction_numerical': 0.003000750187546887, 'mean_word_length': 5.876288659793815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7311754', 'n_tokens_mistral': 475, 'n_tokens_neox': 454, 'n_words': 97}