1.0.3 • Published 6 years ago
tslint-config-ivweb v1.0.3
tslint-config-ivweb
TSLint shareable config for the IVWEB TypeScript style guide.
Installation
$ npm install --save-dev tslint typescript tslint-config-ivwebUsage
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 ./**/*.tsuse in vscode
- install tslint plugin
- use
Cmd +orCtrl + - set
tslint.autoFixOnSaveastrue
use in webstorm
- open setting
- search
tslint - set
enableas true, and choseSearch for tslint.json