<commit_before>
# Common shared ESLint config files for projects of Coremail (c) Mailtech Ltd.
[![npm][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/eslint-config-coremail.svg
[npm-url]: https://npmjs.org/package/eslint-config-coremail

## Usage

To use this config, add this to your `package.json`

```json
{
  "devDependencies"  : {
    "eslint"                 : "^2.0.0",
    "eslint-config-coremail" : ""
  }
}
```

or install manually

```bash
npm install eslint eslint-config-coremail
```


Then, add this to your `.eslintrc.json` file: 

- Using standard rules

    ```json
    {
      "extends" : "coremail"
    }
    ```

- Applying compliant rules (old IE compatible)

    ```json
    {
      "extends" : "./node_modules/eslint-config-coremail/config/compliant"
    }
    ```


## Learn more

For the full listing of rules that eslint supports, and more, visit 
For more information the full listing of rules, editor plugins, FAQs, and more, visit the
[ESLint official site](http://eslint.org/docs/rules/).

## License

MIT. Copyright (c) [Coremail](http://coremail.cn).<commit_msg>fix README compliant -> compliant.yaml<commit_after>
# ESLint config files for Coremail (c)
[![npm][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/eslint-config-coremail.svg
[npm-url]: https://npmjs.org/package/eslint-config-coremail

## Usage

To use this config, add this to your `package.json`

```json
{
  "devDependencies"  : {
    "eslint"                 : "^2.0.0",
    "eslint-config-coremail" : ""
  }
}
```

or install manually

```bash
npm install eslint eslint-config-coremail
```


Then, add this to your `.eslintrc.json` file: 

- Using standard rules

    ```json
    {
      "extends" : "coremail"
    }
    ```

- Applying compliant rules (old IE compatible)

    ```json
    {
      "extends" : "./node_modules/eslint-config-coremail/config/compliant.yaml"
    }
    ```


## Learn more

For the full listing of rules that eslint supports, and more, visit 
For more information the full listing of rules, editor plugins, FAQs, and more, visit the
[ESLint official site](http://eslint.org/docs/rules/).

## License

MIT. Copyright (c) [Coremail](http://coremail.cn).
{'fraction_non_alphanumeric': 0.15054249547920434, 'fraction_numerical': 0.0027124773960217, 'mean_word_length': 3.136448598130841, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '152980', 'n_tokens_mistral': 804, 'n_tokens_neox': 759, 'n_words': 196}