-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
153 lines (153 loc) · 4.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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"defaultSeverity": "warn",
"extends": [
"tslint:recommended",
"tslint-config-prettier",
"tslint-immutable"
],
"linterOptions": {
"exclude": [
"*.json",
"**/*.json",
".mock/**/*.json"
]
},
"rules": {
"no-implicit-dependencies": [
true,
[
"@"
]
],
"no-console": true,
"quotemark": [
true,
"single"
],
"indent": [
true,
"spaces",
2
],
"no-default-export": false,
"interface-name": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-consecutive-blank-lines": false,
"whitespace": true,
"no-any": true,
"no-conditional-assignment": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-var-requires": true,
"no-var-keyword": true,
"no-duplicate-variable": true,
"no-duplicate-switch-case": true,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": true,
"no-empty-interface": true,
"no-floating-promises": true,
"no-invalid-template-strings": true,
"no-misused-new": true,
"no-inferred-empty-object-type": true,
"no-duplicate-super": true,
"no-irregular-whitespace": true,
"no-mergeable-namespace": true,
"no-magic-numbers": true,
"no-parameter-reassignment": true,
"no-redundant-jsdoc": true,
"no-reference": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-this-assignment": false,
"no-trailing-whitespace": true,
"no-string-literal": true,
"no-string-throw": true,
"no-unbound-method": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-assertion": true,
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-void-expression": true,
"adjacent-overload-signatures": true,
"align": true,
"array-type": false,
"await-promise": true,
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"comment-format": [
true,
"check-space",
"check-uppercase"
],
"curly": true,
"cyclomatic-complexity": true,
"deprecation": true,
"encoding": true,
"eofline": true,
"import-spacing": true,
"max-classes-per-file": [
true,
1
],
"max-file-line-count": [
true,
1000
],
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^import |^export {(.*?)}"
}
],
"member-access": true,
"member-ordering": [
false,
{
"order": "statics-first"
}
],
"number-literal-format": true,
"new-parens": true,
"newline-before-return": true,
"newline-per-chained-call": true,
"one-variable-per-declaration": true,
"only-arrow-functions": false,
"prefer-const": true,
"prefer-for-of": true,
"prefer-method-signature": true,
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-template": true,
"prefer-while": true,
"promise-function-async": true,
"radix": true,
"restrict-plus-operands": true,
"return-undefined": true,
"semicolon": true,
"space-before-function-paren": false,
"space-within-parens": false,
"strict-boolean-expressions": true,
"strict-type-predicates": true,
"switch-default": true,
"trailing-comma": true,
"triple-equals": true,
"type-literal-delimiter": true,
"typedef": true,
"unified-signatures": true,
"use-default-type-parameter": true,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-leading-underscore"
]
},
"interface-over-type-literal": false
}
}