-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
125 lines (125 loc) · 3.5 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
{
"rules": {
"member-access": true,
"no-any": true,
"no-empty-interface": true,
"no-import-side-effect": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-reference": true,
"no-unnecessary-type-assertion": true,
"no-var-requires": true,
"prefer-for-of": true,
"promise-function-async": true,
"typedef": [true, "call-signature"],
"unified-signatures": true,
"await-promise": true,
"ban-comma-operator": true,
"curly": true,
"function-constructor": true,
"no-async-without-await": true,
"no-conditional-assignment": true,
"no-console": [true, "log"],
"no-construct": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": [true, "check-parameters"],
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-implicit-dependencies": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-promise-as-boolean": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-tautology-expression": true,
"no-this-assignment": true,
"no-unbound-method": true,
"no-unnecessary-class": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-var-keyword": true,
"no-void-expression": true,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"restrict-plus-operands": true,
"static-this": true,
"strict-boolean-expressions": true,
"strict-comparisons": true,
"strict-string-expressions": true,
"strict-type-predicates": true,
"switch-default": true,
"triple-equals": true,
"unnecessary-constructor": true,
"use-isnan": true,
"deprecation": true,
"invalid-void": true,
"max-classes-per-file": [true, 1],
"no-duplicate-imports": [true, { "allow-namespace-imports": true }],
"no-require-imports": true,
"object-literal-sort-keys": true,
"prefer-const": true,
"prefer-readonly": true,
"array-type": [true, "generic"],
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"class-name": true,
"encoding": true,
"increment-decrement": true,
"interface-name": [true, "always-prefix"],
"interface-over-type-literal": true,
"no-parameter-properties": true,
"no-redundant-jsdoc": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"one-variable-per-declaration": true,
"ordered-imports": true,
"prefer-function-over-method": true,
"prefer-method-signature": true,
"prefer-switch": true,
"prefer-template": true,
"space-before-function-paren": true,
"space-within-parens": false,
"switch-final-break": true,
"unnecessary-else": true,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
},
"arrow-parens": false,
"eofline": true,
"import-spacing": true,
"indent": [true, "tabs", 4],
"no-consecutive-blank-lines": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"quotemark": [true, "double"],
"semicolon": [true, "always"],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
]
}
}