https://github.com/steebchen/tslint-config-ultra
https://github.com/steebchen/tslint-config-ultra
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/steebchen/tslint-config-ultra
- Owner: steebchen
- Created: 2017-12-15T18:58:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T15:21:17.000Z (about 7 years ago)
- Last Synced: 2025-01-31T23:45:22.555Z (over 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tslint-config-ultra
This is a tslint plugin ([https://palantir.github.io/tslint/](tslint)) with my personal coding style.
Extends from tslint:recommended with some minor changes, tabs and no semicolons.
## Why tabs
Because it's the only way. I used to indent my code with 2 spaces (4 are just too much! :P), but using tabs is just the right way. Period. When using tabs, one indentation level equals one character. And everyone can decide how a tab is displayed.
Github sadly displays tab as 8 spaces, which looks kinda ugly. However, there are dozens of plugins which fix that with a single click. The same applies to editors like nano where you can simply set the tabsize in your settings.
Usage:
```sh
npm i tslint tslint-config-ultra -D
# or
yarn add tslint tslint-config-ultra --dev
```
Then, add the following snippet to your tslint.json:
`"extends": "ultra"`
Yay!