-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
129 lines (129 loc) · 4.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"extends": [
"tslint:recommended",
"tslint-consistent-codestyle",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"rules": {
"align": [ true, "parameters", "arguments", "statements", "members", "elements" ],
"array-bracket-spacing": [ true, "always" ],
"arrow-parens": [ true, "ban-single-arg-parens" ],
"ban-comma-operator": true,
"binary-expression-operand-order": true,
"block-spacing": true,
"brace-style": [ true, "1tbs" ],
"class-method-newlines": true,
"cyclomatic-complexity": [ true, 12 ],
"early-exit": true,
"forin": false,
"indent": [ true, "spaces", 2 ],
"interface-name": false,
"linebreak-style": [ true, "LF" ],
"max-classes-per-file": [ true, 3 ],
"max-file-line-count": [ true, 500 ],
"member-access": [ true, "no-public" ],
"no-accessor-recursion": true,
"no-boolean-literal-compare": true,
"no-braces-for-single-line-arrow-functions": true,
"no-collapsible-if": true,
"no-constant-condition": true,
"no-control-regex": true,
"no-duplicate-case": true,
"no-duplicate-imports": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-dynamic-delete": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-for-in-array": true,
"no-inferrable-types": true,
"no-inferred-empty-object-type": true,
"no-inner-declarations": true,
"no-invalid-regexp": true,
"no-invalid-template-strings": true,
"no-irregular-whitespace": true,
"no-mergeable-namespace": true,
"no-multi-spaces": true,
"no-non-null-assertion": true,
"no-object-literal-type-assertion": true,
"no-parameter-reassignment": true,
"no-property-initializers": true,
"no-reference": false,
"no-regex-spaces": true,
"no-require-imports": true,
"no-return-await": true,
"no-return-undefined": true,
"no-sparse-arrays": true,
"no-static-this": true,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-unexpected-multiline": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-class": [ "allow-empty-class" ],
"no-unnecessary-else": true,
"no-unnecessary-parens-for-arrow-function-arguments": true,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-annotation": true,
"no-unnecessary-type-assertion": true,
"no-unbound-method": true,
"no-unused": true,
"no-unused-variable": true,
"no-var-before-return": true,
"number-literal-format": true,
"object-curly-spacing": [ true, "always" ],
"object-literal-key-quotes": [ true, "as-needed" ],
"object-literal-sort-keys": false,
"object-shorthand-properties-first": true,
"one-variable-per-declaration": false,
"only-arrow-functions": false,
"prefer-conditional-expression": [ true, "check-else-if" ],
"prefer-method-signature": true,
"prefer-object-spread": true,
"prefer-or-operator-over-ternary": true,
"prefer-readonly": true,
"prefer-switch": true,
"prefer-template": true,
"prefer-while": true,
"quotemark": [ true, "single", "avoid-escape", "avoid-template" ],
"restrict-plus-operands": true,
"return-undefined": true,
"semicolon": [ true, "always" ],
"space-in-parens": [ true, "never" ],
"space-within-parens": [ true, 0 ],
"switch-default": true,
"switch-final-break": true,
"ter-computed-property-spacing": [ true, "never" ],
"trailing-comma": {
"options": {
"multiline": "never",
"singleline": "never"
}
},
"triple-equals": true,
"type-literal-delimiter": true,
"typedef": true,
"use-default-type-parameter": true,
"valid-typeof": true,
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-preblock",
"check-rest-spread",
"check-separator",
"check-type",
"check-type-operator",
"check-typecast"
]
}
},
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules",
"node_modules/tslint-misc-rules/rules"
]
}