-
Notifications
You must be signed in to change notification settings - Fork 50
/
tslint.json
59 lines (59 loc) · 1.84 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"defaultSeverity": "warning",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"arrow-parens": false,
"boolean-trivia": true,
"class-name": true,
"comment-format": [true, "check-space"],
"curly": true,
"indent": [true, "spaces"],
"jsdoc-format": true,
"linebreak-style": [true, "LF"],
"max-line-length": [true, 160],
"member-access": false,
"next-line": [true, "check-catch", "check-else"],
"no-console": [false],
"no-bom": true,
"no-in-operator": true,
"no-increment-decrement": true,
"no-inferrable-types": true,
"no-internal-module": true,
"no-null-keyword": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-type-assertion-whitespace": true,
"no-unused-variable": true,
"no-var-keyword": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"object-literal-surrounding-space": true,
"one-line": [true, "check-open-brace", "check-whitespace"],
"prefer-const": true,
"quotemark": [true, "single", "avoid-escape"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [false],
"triple-equals": true,
"type-operator-spacing": true,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type"]
},
"rulesDirectory": []
}