Created
July 21, 2017 05:52
-
-
Save copperwalls/83d8ab58d097ec2c5c86a515e4631166 to your computer and use it in GitHub Desktop.
TSLint example configuration
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
Show hidden characters
{ | |
"defaultSeverity": "error", | |
"extends": [ | |
"tslint:recommended" | |
], | |
"jsRules": {}, | |
"rules": { | |
"cyclomatic-complexity": true, | |
"encoding": true, | |
"indent": [ | |
true, | |
"spaces", | |
2 | |
], | |
"linebreak-style": [ | |
true, | |
"LF" | |
], | |
"newline-before-return": true, | |
"no-default-export": true, | |
"no-irregular-whitespace": true, | |
"no-magic-numbers": true, | |
"no-non-null-assertion": true, | |
"no-null-keyword": true, | |
"no-require-imports": true, | |
"no-switch-case-fall-through": true, | |
"no-this-assignment": true, | |
"no-unnecessary-callback-wrapper": true, | |
"number-literal-format": true, | |
"prefer-conditional-expression": true, | |
"prefer-switch": true, | |
"switch-default": true, | |
"triple-equals": true | |
}, | |
"rulesDirectory": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment