To get started run
npm install -D tslint @m-ripper/tslint-config
or
yarn add -D tslint @m-ripper/tslint-config
Then simply extend it via the tslint.json
in your project-directory:
{
"extends": "@m-ripper/tslint-config",
"linterOptions": {
"exclude": ["node_modules/**"]
},
"rules": {
"no-floating-promises": false,
...
}
}
In the example above you can see, that you can override rules and other configurations in your tslint.json
.