# tslint-xo [![Build Status](https://travis-ci.org/xojs/tslint-xo.svg?branch=master)](https://travis-ci.org/xojs/tslint-xo) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

> [TSLint](https://palantir.github.io/tslint/) shareable config for [XO](https://github.com/xojs/xo)

Note that [TSLint is deprecated](https://medium.com/palantir/tslint-in-2019-1a144c2317a9).


## Install

```
$ npm install --save-dev tslint-xo
```


## Usage

Add the following to your [TSLint config](https://palantir.github.io/tslint/usage/configuration/):

```json
{
	"extends": "tslint-xo"
}
```

Or this if you want 2-space indentation instead of tabs:

```json
{
	"extends": "tslint-xo/space"
}
```


## Related

- [xo](https://github.com/xojs/xo) - JavaScript linter


## Maintainers

- [Sindre Sorhus](https://github.com/sindresorhus)
- [Sam Verschueren](https://github.com/SamVerschueren)


## License

MIT
