<commit_before>How to use codeclimate/tslint on localhost
========================

**Skip this steps if you won't install Codeclimate CLI**

### How to install Codeclimate CLI on Linux:
- [ ] `sudo apt-get update`
- [ ] `sudo apt-get install docker-ce`
- [ ] `sudo docker run hello-world` (checking if docker works, optionally)
- [ ] `sudo docker pull codeclimate/codeclimate`
- [ ] `sudo docker run   --interactive --tty --rm --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate help`
- [ ] Go to some parent folder that wont touch git repository.
- [ ] `curl -L https://github.com/codeclimate/codeclimate/archive/master.tar.gz | tar xvz
 2097  cd codeclimate-* && sudo make install`
- [ ] `sudo codeclimate engines:enable tslint`

### How to use Codeclimate CLI:
- [ ] Move into path with `.codeclimate.yml`
- [ ] `sudo codeclimate analyze [path]`, if you want to run only **tslint** add at the end `-e tslint:beta`<commit_msg>Add Codeclimate CLI documentation for Mac OS X<commit_after>How to use codeclimate/tslint on localhost
========================

**Skip this steps if you won't install Codeclimate CLI**

### How to install Codeclimate CLI on Linux:
- [ ] `sudo apt-get update`
- [ ] `sudo apt-get install docker-ce`
- [ ] `sudo docker run hello-world` (checking if docker works, optionally)
- [ ] `sudo docker pull codeclimate/codeclimate`
- [ ] `sudo docker run   --interactive --tty --rm --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate help`
- [ ] Go to some parent folder that wont touch git repository.
- [ ] `curl -L https://github.com/codeclimate/codeclimate/archive/master.tar.gz | tar xvz
 2097  cd codeclimate-* && sudo make install`
- [ ] `sudo codeclimate engines:enable tslint`

### How to install Codeclimate CLI on Mac OS X: 
- [ ] If you dont have brew, install it: `xcode-select --install && /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
- [ ] download docker from `https://docs.docker.com/docker-for-mac/install/#what-to-know-before-you-install`
- [ ] run docker ( you can find it in launchpad )
- [ ] `docker pull codeclimate/codeclimate`
- [ ] `brew tap codeclimate/formulae`
- [ ] `brew install codeclimate`
- [ ] `codeclimate engines:enable tslint`

### How to use Codeclimate CLI:
- [ ] Move into path with `.codeclimate.yml`
- [ ] `sudo codeclimate analyze [path]`, if you want to run only **tslint** add at the end `-e tslint:beta`
{'fraction_non_alphanumeric': 0.15847619047619046, 'fraction_numerical': 0.0030476190476190477, 'mean_word_length': 3.8539741219963033, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7348482', 'n_tokens_mistral': 917, 'n_tokens_neox': 840, 'n_words': 273}