-
-
Save RomainBitard/8a08bdc6671afb4fb1f71b2f29d1d978 to your computer and use it in GitHub Desktop.
This file contains 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