tslint-config-ivweb
TSLint shareable config for the IVWEB TypeScript style guide.
Installation
$ npm install --save-dev tslint typescript tslint-config-ivweb
Usage
Once the tslint-config-ivweb
package is installed, you can use it by specifying ivweb
.
create tslint.config
and copy this.
"extends": "tslint-config-ivweb" "linterOptions": "exclude": "**/node_modules/**" "rules": // your own special config rule
use in cli
./node_modules/.bin/tslint ./**/*.ts
use in vscode
- install tslint plugin
- use
Cmd +
orCtrl +
- set
tslint.autoFixOnSave
astrue
use in webstorm
- open setting
- search
tslint
- set
enable
as true, and choseSearch for tslint.json