npm install --save-dev tslint-presets
In your tslint.json
file, extend this package, e.g:
{
"extends": [
"tslint-presets"
],
"rules": {
"no-constant-condition": true
}
}
You can also extend other tslint config packages to combine this plugin with other community custom rules.