-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
35 lines (35 loc) · 1.03 KB
/
tslint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"quotemark": false,
"object-literal-sort-keys": false,
"one-line": [true, "check-catch", "check-finally", "check-open-brace", "check-whitespace"]
},
"rules": {
"indent": [true, "spaces", 2],
"triple-equals": true,
"typeof-compare": true,
"variable-name": true,
"align": [true, "parameters", "statements"],
"cyclomatic-complexity": true,
"arrow-parens": false,
"encoding": true,
"no-invalid-template-strings": true,
"no-trailing-whitespace": true,
"number-literal-format": true,
"quotemark": [true, "single"],
"trailing-comma": false,
"no-shadowed-variable": false,
"no-console": false,
"space-before-function-paren": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"prefer-for-of": false,
"no-string-literal": false,
"max-line-length": false,
"prefer-const": false
},
"rulesDirectory": []
}