Install as an npm devDependency. TypeScript and TSLint should also be installed.
npm install --save-dev typescript tslint @ptsecurity/tslint-config
Include a tslint.json
file in your project and add "@ptsecurity/tslint-config"
to
the "extends"
field. Custom rules can then be enabled under "rules"
.
{
"extends": ["@ptsecurity/tslint-config"],
"rules": {
...
}
}
Please read community-guidelines here.