<commit_before># eslint-config-mc

[![npm version](https://badge.fury.io/js/eslint-config-mc.svg)](https://badge.fury.io/js/eslint-config-mc) [![Dependency Status](https://david-dm.org/mikechau/eslint-config-mc.svg)](https://david-dm.org/mikechau/eslint-config-mc) [![devDependency Status](https://david-dm.org/mikechau/eslint-config-mc/dev-status.svg)](https://david-dm.org/mikechau/eslint-config-mc#info=devDependencies) [![Build Status](https://travis-ci.org/mikechau/eslint-config-mc.svg?branch=master)](https://travis-ci.org/mikechau/eslint-config-mc)

Based on [eslint-airbnb-config](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb). Provides a statically built eslint config file in the `dist` dir.

## Installing

```bash
npm install --save-dev eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint

npm install --save-dev eslint-config-mc
```

## Usage

### eslint-config-mc

This is the default config, which will raise errors for violations.

Edit your `.eslintrc.*` and add `"extends": "eslint-config-mc"`.

### eslint-config-mc/warning

This is the same config, but instead of raising errors, it will raise warnings.

Edit your `.eslintrc.*` and add `"extends": "eslint-config-mc/warning"`.

## Development

```bash
git clone <EMAIL>:mikechau/eslint-config-mc.git
cd eslint-config-mc && npm install
```

## Testing

```bash
npm test
```

## LICENSE

MIT
<commit_msg>Update README.md [ci skip]<commit_after># eslint-config-mc

[![npm version](https://badge.fury.io/js/eslint-config-mc.svg)](https://badge.fury.io/js/eslint-config-mc) [![Build Status](https://travis-ci.org/mikechau/eslint-config-mc.svg?branch=master)](https://travis-ci.org/mikechau/eslint-config-mc) [![Dependency Status](https://david-dm.org/mikechau/eslint-config-mc.svg)](https://david-dm.org/mikechau/eslint-config-mc) [![devDependency Status](https://david-dm.org/mikechau/eslint-config-mc/dev-status.svg)](https://david-dm.org/mikechau/eslint-config-mc#info=devDependencies)

Based on [eslint-airbnb-config](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb). Provides a statically built eslint config file in the `dist` dir.

## Installing

```bash
npm install --save-dev eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint

npm install --save-dev eslint-config-mc
```

## Usage

### eslint-config-mc

This is the default config, which will raise errors for violations.

Edit your `.eslintrc.*` and add `"extends": "eslint-config-mc"`.

### eslint-config-mc/warning

This is the same config, but instead of raising errors, it will raise warnings.

Edit your `.eslintrc.*` and add `"extends": "eslint-config-mc/warning"`.

## Development

```bash
git clone <EMAIL>@github.com:mikechau/eslint-config-mc.git
cd eslint-config-mc && npm install
```

## Testing

```bash
npm test
```

## LICENSE

MIT

{'fraction_non_alphanumeric': 0.17338429464906185, 'fraction_numerical': 0.001389854065323141, 'mean_word_length': 4.712301587301587, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4056284', 'n_tokens_mistral': 1090, 'n_tokens_neox': 1044, 'n_words': 191}