TSLint configuration for TypeScript projects
Install as an npm development dependency. TypeScript and TSLint should also be installed.
npm install --save-dev typescript tslint @mcmath/tslint-config
Create a tslint.json
file in the root of your project:
{ "extends": "@mcmath/tslint-config" }
New rules may be added or existing ones modified like so:
{
"extends": "@mcmath/tslint-config",
"rules": {
"no-reference": false,
"quotemark": [true, "single"]
}
}