https://github.com/sindresorhus/tslint-xo
TSLint shareable config for XO
https://github.com/sindresorhus/tslint-xo
config linting tslint tslint-config typescript xo
Last synced: 9 months ago
JSON representation
TSLint shareable config for XO
- Host: GitHub
- URL: https://github.com/sindresorhus/tslint-xo
- Owner: sindresorhus
- License: mit
- Archived: true
- Created: 2017-11-01T10:07:54.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-08-16T23:19:27.000Z (almost 5 years ago)
- Last Synced: 2024-10-29T22:38:33.258Z (over 1 year ago)
- Topics: config, linting, tslint, tslint-config, typescript, xo
- Language: JavaScript
- Homepage: https://github.com/xojs/xo
- Size: 42 KB
- Stars: 64
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
Deprecated as [TSLint is deprecated](https://medium.com/palantir/tslint-in-2019-1a144c2317a9).
---
# tslint-xo
> [TSLint](https://palantir.github.io/tslint/) shareable config for [XO](https://github.com/xojs/xo)
## 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