tslint-immutable
Version:
TSLint rules to disable mutation in TypeScript.
27 lines (24 loc) • 604 B
JSON
{
"extends": "./tslint-immutable.json",
"rules": {
"no-var-keyword": true,
"no-parameter-reassignment": true,
"typedef": [true, "call-signature"],
"no-array-mutation": true,
"no-delete": true,
"no-let": true,
"no-method-signature": true,
"no-object-mutation": true,
"readonly-array": true,
"readonly-keyword": true,
"no-class": true,
"no-expression-statement": true,
"no-if-statement": true,
"no-loop-statement": true,
"no-mixed-interface": true,
"no-reject": true,
"no-this": true,
"no-throw": true,
"no-try": true
}
}