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`

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`

Add Codeclimate CLI documentation for Mac OS X
Add Codeclimate CLI documentation for Mac OS X
