Created
April 29, 2019 18:37
-
-
Save splincode/f896fb353debacc998b7b97146514591 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// npm install tslint-immutable --save-dev | |
// tslint.json | |
{ | |
"extends": ["tslint-immutable"], | |
"rules": { | |
// Recommended built-in rules | |
"no-var-keyword": true, | |
"no-parameter-reassignment": true, | |
"typedef": [true, "call-signature"], | |
// Immutability rules | |
"readonly-keyword": true, | |
"readonly-array": true, | |
"no-let": true, | |
"no-object-mutation": true, | |
"no-delete": true, | |
"no-method-signature": true, | |
// Functional style rules | |
"no-this": true, | |
"no-class": true, | |
"no-mixed-interface": true, | |
"no-expression-statement": true, | |
"no-if-statement": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment