@teambit/linter 1.0.257 → 1.0.258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/artifacts/schema.json
CHANGED
@@ -14,2175 +14,2217 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
19
|
+
"filePath": "index.ts",
|
20
20
|
"line": 3,
|
21
|
-
"character":
|
21
|
+
"character": 10
|
22
22
|
},
|
23
|
-
"signature": "const LinterAspect: Aspect",
|
24
23
|
"name": "LinterAspect",
|
25
|
-
"
|
26
|
-
"__schema": "
|
24
|
+
"exportNode": {
|
25
|
+
"__schema": "VariableLikeSchema",
|
27
26
|
"location": {
|
28
27
|
"filePath": "linter.aspect.ts",
|
29
28
|
"line": 3,
|
30
29
|
"character": 14
|
31
30
|
},
|
32
|
-
"
|
33
|
-
"
|
34
|
-
|
35
|
-
"
|
36
|
-
"
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
31
|
+
"signature": "const LinterAspect: Aspect",
|
32
|
+
"name": "LinterAspect",
|
33
|
+
"type": {
|
34
|
+
"__schema": "TypeRefSchema",
|
35
|
+
"location": {
|
36
|
+
"filePath": "linter.aspect.ts",
|
37
|
+
"line": 3,
|
38
|
+
"character": 14
|
39
|
+
},
|
40
|
+
"name": "Aspect",
|
41
|
+
"componentId": {
|
42
|
+
"scope": "teambit.harmony",
|
43
|
+
"name": "harmony",
|
44
|
+
"version": "0.4.6"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"isOptional": false,
|
48
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.defender/linter',\n})"
|
49
|
+
}
|
41
50
|
},
|
42
51
|
{
|
43
|
-
"__schema": "
|
52
|
+
"__schema": "ExportSchema",
|
44
53
|
"location": {
|
45
|
-
"filePath": "
|
46
|
-
"line":
|
47
|
-
"character":
|
54
|
+
"filePath": "index.ts",
|
55
|
+
"line": 4,
|
56
|
+
"character": 15
|
48
57
|
},
|
49
|
-
"signature": "class LinterMain",
|
50
58
|
"name": "LinterMain",
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
"__schema": "
|
59
|
+
"exportNode": {
|
60
|
+
"__schema": "ClassSchema",
|
61
|
+
"location": {
|
62
|
+
"filePath": "linter.main.runtime.ts",
|
63
|
+
"line": 21,
|
64
|
+
"character": 1
|
65
|
+
},
|
66
|
+
"signature": "class LinterMain",
|
67
|
+
"name": "LinterMain",
|
68
|
+
"members": [
|
69
|
+
{
|
70
|
+
"__schema": "VariableLikeSchema",
|
63
71
|
"location": {
|
64
72
|
"filePath": "linter.main.runtime.ts",
|
65
73
|
"line": 22,
|
66
74
|
"character": 3
|
67
75
|
},
|
68
|
-
"
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"__schema": "ConstructorSchema",
|
75
|
-
"location": {
|
76
|
-
"filePath": "linter.main.runtime.ts",
|
77
|
-
"line": 24,
|
78
|
-
"character": 3
|
79
|
-
},
|
80
|
-
"signature": "constructor LinterMain(envs: EnvsMain, linterService: LinterService): LinterMain",
|
81
|
-
"name": "constructor",
|
82
|
-
"params": [
|
83
|
-
{
|
84
|
-
"__schema": "ParameterSchema",
|
76
|
+
"signature": "(property) LinterMain.runtime: RuntimeDefinition",
|
77
|
+
"name": "runtime",
|
78
|
+
"type": {
|
79
|
+
"__schema": "InferenceTypeSchema",
|
85
80
|
"location": {
|
86
81
|
"filePath": "linter.main.runtime.ts",
|
87
|
-
"line":
|
88
|
-
"character":
|
82
|
+
"line": 22,
|
83
|
+
"character": 3
|
89
84
|
},
|
90
|
-
"
|
91
|
-
|
92
|
-
|
85
|
+
"type": "RuntimeDefinition"
|
86
|
+
},
|
87
|
+
"isOptional": true,
|
88
|
+
"defaultValue": "MainRuntime"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"__schema": "ConstructorSchema",
|
92
|
+
"location": {
|
93
|
+
"filePath": "linter.main.runtime.ts",
|
94
|
+
"line": 24,
|
95
|
+
"character": 3
|
96
|
+
},
|
97
|
+
"signature": "constructor LinterMain(envs: EnvsMain, linterService: LinterService): LinterMain",
|
98
|
+
"name": "constructor",
|
99
|
+
"params": [
|
100
|
+
{
|
101
|
+
"__schema": "ParameterSchema",
|
93
102
|
"location": {
|
94
103
|
"filePath": "linter.main.runtime.ts",
|
95
104
|
"line": 24,
|
96
|
-
"character":
|
105
|
+
"character": 15
|
97
106
|
},
|
98
|
-
"name": "
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
"filePath": "linter.main.runtime.ts",
|
111
|
-
"line": 24,
|
112
|
-
"character": 39
|
107
|
+
"name": "envs",
|
108
|
+
"type": {
|
109
|
+
"__schema": "TypeRefSchema",
|
110
|
+
"location": {
|
111
|
+
"filePath": "linter.main.runtime.ts",
|
112
|
+
"line": 24,
|
113
|
+
"character": 29
|
114
|
+
},
|
115
|
+
"name": "EnvsMain"
|
116
|
+
},
|
117
|
+
"isOptional": false,
|
118
|
+
"isSpread": false
|
113
119
|
},
|
114
|
-
|
115
|
-
|
116
|
-
"__schema": "TypeRefSchema",
|
120
|
+
{
|
121
|
+
"__schema": "ParameterSchema",
|
117
122
|
"location": {
|
118
123
|
"filePath": "linter.main.runtime.ts",
|
119
124
|
"line": 24,
|
120
|
-
"character":
|
125
|
+
"character": 39
|
121
126
|
},
|
122
|
-
"name": "
|
123
|
-
"
|
127
|
+
"name": "linterService",
|
128
|
+
"type": {
|
129
|
+
"__schema": "TypeRefSchema",
|
130
|
+
"location": {
|
131
|
+
"filePath": "linter.main.runtime.ts",
|
132
|
+
"line": 24,
|
133
|
+
"character": 62
|
134
|
+
},
|
135
|
+
"name": "LinterService"
|
136
|
+
},
|
137
|
+
"isOptional": false,
|
138
|
+
"isSpread": false
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"returnType": {
|
142
|
+
"__schema": "ThisTypeSchema",
|
143
|
+
"location": {
|
144
|
+
"filePath": "linter.main.runtime.ts",
|
145
|
+
"line": 21,
|
146
|
+
"character": 1
|
124
147
|
},
|
125
|
-
"
|
126
|
-
"isSpread": false
|
127
|
-
}
|
128
|
-
],
|
129
|
-
"returnType": {
|
130
|
-
"__schema": "ThisTypeSchema",
|
131
|
-
"location": {
|
132
|
-
"filePath": "linter.main.runtime.ts",
|
133
|
-
"line": 21,
|
134
|
-
"character": 1
|
148
|
+
"name": "LinterMain"
|
135
149
|
},
|
136
|
-
"
|
137
|
-
},
|
138
|
-
"modifiers": []
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"__schema": "FunctionLikeSchema",
|
142
|
-
"location": {
|
143
|
-
"filePath": "linter.main.runtime.ts",
|
144
|
-
"line": 29,
|
145
|
-
"character": 3
|
150
|
+
"modifiers": []
|
146
151
|
},
|
147
|
-
|
148
|
-
"__schema": "
|
152
|
+
{
|
153
|
+
"__schema": "FunctionLikeSchema",
|
149
154
|
"location": {
|
150
155
|
"filePath": "linter.main.runtime.ts",
|
151
|
-
"line":
|
156
|
+
"line": 29,
|
152
157
|
"character": 3
|
153
158
|
},
|
154
|
-
"
|
155
|
-
|
156
|
-
},
|
157
|
-
"signature": "(method) LinterMain.lint(components: Component[], opts: LinterOptions): Promise<EnvsExecutionResult<LintResults>>",
|
158
|
-
"name": "lint",
|
159
|
-
"params": [
|
160
|
-
{
|
161
|
-
"__schema": "ParameterSchema",
|
159
|
+
"doc": {
|
160
|
+
"__schema": "DocSchema",
|
162
161
|
"location": {
|
163
162
|
"filePath": "linter.main.runtime.ts",
|
164
|
-
"line":
|
165
|
-
"character":
|
163
|
+
"line": 26,
|
164
|
+
"character": 3
|
166
165
|
},
|
167
|
-
"
|
168
|
-
"
|
169
|
-
|
166
|
+
"raw": "/**\n * lint an array of components.\n */",
|
167
|
+
"comment": "lint an array of components."
|
168
|
+
},
|
169
|
+
"signature": "(method) LinterMain.lint(components: Component[], opts: LinterOptions): Promise<EnvsExecutionResult<LintResults>>",
|
170
|
+
"name": "lint",
|
171
|
+
"params": [
|
172
|
+
{
|
173
|
+
"__schema": "ParameterSchema",
|
170
174
|
"location": {
|
171
175
|
"filePath": "linter.main.runtime.ts",
|
172
176
|
"line": 29,
|
173
|
-
"character":
|
177
|
+
"character": 14
|
174
178
|
},
|
179
|
+
"name": "components",
|
175
180
|
"type": {
|
176
|
-
"__schema": "
|
181
|
+
"__schema": "TypeArraySchema",
|
177
182
|
"location": {
|
178
183
|
"filePath": "linter.main.runtime.ts",
|
179
184
|
"line": 29,
|
180
185
|
"character": 26
|
181
186
|
},
|
182
|
-
"
|
183
|
-
|
184
|
-
"
|
185
|
-
|
187
|
+
"type": {
|
188
|
+
"__schema": "TypeRefSchema",
|
189
|
+
"location": {
|
190
|
+
"filePath": "linter.main.runtime.ts",
|
191
|
+
"line": 29,
|
192
|
+
"character": 26
|
193
|
+
},
|
194
|
+
"name": "Component"
|
186
195
|
}
|
187
|
-
}
|
188
|
-
|
189
|
-
|
190
|
-
"isSpread": false
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"__schema": "ParameterSchema",
|
194
|
-
"location": {
|
195
|
-
"filePath": "linter.main.runtime.ts",
|
196
|
-
"line": 29,
|
197
|
-
"character": 39
|
196
|
+
},
|
197
|
+
"isOptional": false,
|
198
|
+
"isSpread": false
|
198
199
|
},
|
199
|
-
|
200
|
-
|
201
|
-
"__schema": "TypeRefSchema",
|
200
|
+
{
|
201
|
+
"__schema": "ParameterSchema",
|
202
202
|
"location": {
|
203
203
|
"filePath": "linter.main.runtime.ts",
|
204
204
|
"line": 29,
|
205
|
-
"character":
|
205
|
+
"character": 39
|
206
206
|
},
|
207
|
-
"name": "
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
"filePath": "linter.main.runtime.ts",
|
217
|
-
"line": 29,
|
218
|
-
"character": 3
|
219
|
-
},
|
220
|
-
"type": "Promise<EnvsExecutionResult<LintResults>>"
|
221
|
-
},
|
222
|
-
"modifiers": [
|
223
|
-
"async"
|
224
|
-
]
|
225
|
-
},
|
226
|
-
{
|
227
|
-
"__schema": "FunctionLikeSchema",
|
228
|
-
"location": {
|
229
|
-
"filePath": "linter.main.runtime.ts",
|
230
|
-
"line": 35,
|
231
|
-
"character": 3
|
232
|
-
},
|
233
|
-
"signature": "(method) LinterMain.getLinter(context: ExecutionContext, options: LinterOptions): Linter",
|
234
|
-
"name": "getLinter",
|
235
|
-
"params": [
|
236
|
-
{
|
237
|
-
"__schema": "ParameterSchema",
|
238
|
-
"location": {
|
239
|
-
"filePath": "linter.main.runtime.ts",
|
240
|
-
"line": 35,
|
241
|
-
"character": 13
|
242
|
-
},
|
243
|
-
"name": "context",
|
244
|
-
"type": {
|
245
|
-
"__schema": "TypeRefSchema",
|
246
|
-
"location": {
|
247
|
-
"filePath": "linter.main.runtime.ts",
|
248
|
-
"line": 35,
|
249
|
-
"character": 22
|
207
|
+
"name": "opts",
|
208
|
+
"type": {
|
209
|
+
"__schema": "TypeRefSchema",
|
210
|
+
"location": {
|
211
|
+
"filePath": "linter.main.runtime.ts",
|
212
|
+
"line": 29,
|
213
|
+
"character": 45
|
214
|
+
},
|
215
|
+
"name": "LinterOptions"
|
250
216
|
},
|
251
|
-
"
|
252
|
-
"
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
"isOptional": false,
|
258
|
-
"isSpread": false
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"__schema": "ParameterSchema",
|
217
|
+
"isOptional": false,
|
218
|
+
"isSpread": false
|
219
|
+
}
|
220
|
+
],
|
221
|
+
"returnType": {
|
222
|
+
"__schema": "InferenceTypeSchema",
|
262
223
|
"location": {
|
263
224
|
"filePath": "linter.main.runtime.ts",
|
264
|
-
"line":
|
265
|
-
"character":
|
266
|
-
},
|
267
|
-
"name": "options",
|
268
|
-
"type": {
|
269
|
-
"__schema": "TypeRefSchema",
|
270
|
-
"location": {
|
271
|
-
"filePath": "linter.main.runtime.ts",
|
272
|
-
"line": 35,
|
273
|
-
"character": 49
|
274
|
-
},
|
275
|
-
"name": "LinterOptions"
|
225
|
+
"line": 29,
|
226
|
+
"character": 3
|
276
227
|
},
|
277
|
-
"
|
278
|
-
"isSpread": false
|
279
|
-
}
|
280
|
-
],
|
281
|
-
"returnType": {
|
282
|
-
"__schema": "TypeRefSchema",
|
283
|
-
"location": {
|
284
|
-
"filePath": "linter.main.runtime.ts",
|
285
|
-
"line": 35,
|
286
|
-
"character": 3
|
228
|
+
"type": "Promise<EnvsExecutionResult<LintResults>>"
|
287
229
|
},
|
288
|
-
"
|
289
|
-
|
290
|
-
|
291
|
-
},
|
292
|
-
{
|
293
|
-
"__schema": "FunctionLikeSchema",
|
294
|
-
"location": {
|
295
|
-
"filePath": "linter.main.runtime.ts",
|
296
|
-
"line": 43,
|
297
|
-
"character": 3
|
230
|
+
"modifiers": [
|
231
|
+
"async"
|
232
|
+
]
|
298
233
|
},
|
299
|
-
|
300
|
-
"__schema": "
|
234
|
+
{
|
235
|
+
"__schema": "FunctionLikeSchema",
|
301
236
|
"location": {
|
302
237
|
"filePath": "linter.main.runtime.ts",
|
303
|
-
"line":
|
238
|
+
"line": 35,
|
304
239
|
"character": 3
|
305
240
|
},
|
306
|
-
"
|
307
|
-
"
|
308
|
-
"
|
241
|
+
"signature": "(method) LinterMain.getLinter(context: ExecutionContext, options: LinterOptions): Linter",
|
242
|
+
"name": "getLinter",
|
243
|
+
"params": [
|
309
244
|
{
|
310
|
-
"__schema": "
|
245
|
+
"__schema": "ParameterSchema",
|
311
246
|
"location": {
|
312
247
|
"filePath": "linter.main.runtime.ts",
|
313
|
-
"line":
|
314
|
-
"character":
|
248
|
+
"line": 35,
|
249
|
+
"character": 13
|
315
250
|
},
|
316
|
-
"name": "
|
317
|
-
"
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
"filePath": "linter.main.runtime.ts",
|
329
|
-
"line": 43,
|
330
|
-
"character": 14
|
251
|
+
"name": "context",
|
252
|
+
"type": {
|
253
|
+
"__schema": "TypeRefSchema",
|
254
|
+
"location": {
|
255
|
+
"filePath": "linter.main.runtime.ts",
|
256
|
+
"line": 35,
|
257
|
+
"character": 22
|
258
|
+
},
|
259
|
+
"name": "ExecutionContext"
|
260
|
+
},
|
261
|
+
"isOptional": false,
|
262
|
+
"isSpread": false
|
331
263
|
},
|
332
|
-
|
333
|
-
|
334
|
-
"__schema": "KeywordTypeSchema",
|
264
|
+
{
|
265
|
+
"__schema": "ParameterSchema",
|
335
266
|
"location": {
|
336
267
|
"filePath": "linter.main.runtime.ts",
|
337
|
-
"line":
|
338
|
-
"character":
|
268
|
+
"line": 35,
|
269
|
+
"character": 40
|
339
270
|
},
|
340
|
-
"name": "
|
271
|
+
"name": "options",
|
272
|
+
"type": {
|
273
|
+
"__schema": "TypeRefSchema",
|
274
|
+
"location": {
|
275
|
+
"filePath": "linter.main.runtime.ts",
|
276
|
+
"line": 35,
|
277
|
+
"character": 49
|
278
|
+
},
|
279
|
+
"name": "LinterOptions"
|
280
|
+
},
|
281
|
+
"isOptional": false,
|
282
|
+
"isSpread": false
|
283
|
+
}
|
284
|
+
],
|
285
|
+
"returnType": {
|
286
|
+
"__schema": "TypeRefSchema",
|
287
|
+
"location": {
|
288
|
+
"filePath": "linter.main.runtime.ts",
|
289
|
+
"line": 35,
|
290
|
+
"character": 3
|
341
291
|
},
|
342
|
-
"
|
343
|
-
"isSpread": false
|
344
|
-
}
|
345
|
-
],
|
346
|
-
"returnType": {
|
347
|
-
"__schema": "TypeRefSchema",
|
348
|
-
"location": {
|
349
|
-
"filePath": "linter.main.runtime.ts",
|
350
|
-
"line": 43,
|
351
|
-
"character": 3
|
352
|
-
},
|
353
|
-
"name": "LintTask"
|
354
|
-
},
|
355
|
-
"modifiers": []
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"__schema": "VariableLikeSchema",
|
359
|
-
"location": {
|
360
|
-
"filePath": "linter.main.runtime.ts",
|
361
|
-
"line": 47,
|
362
|
-
"character": 3
|
363
|
-
},
|
364
|
-
"signature": "(property) LinterMain.dependencies: Aspect[]",
|
365
|
-
"name": "dependencies",
|
366
|
-
"type": {
|
367
|
-
"__schema": "InferenceTypeSchema",
|
368
|
-
"location": {
|
369
|
-
"filePath": "linter.main.runtime.ts",
|
370
|
-
"line": 47,
|
371
|
-
"character": 3
|
292
|
+
"name": "Linter"
|
372
293
|
},
|
373
|
-
"
|
374
|
-
},
|
375
|
-
"isOptional": true,
|
376
|
-
"defaultValue": "[EnvsAspect, CLIAspect, ComponentAspect, LoggerAspect, WorkspaceAspect]"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"__schema": "VariableLikeSchema",
|
380
|
-
"location": {
|
381
|
-
"filePath": "linter.main.runtime.ts",
|
382
|
-
"line": 49,
|
383
|
-
"character": 3
|
294
|
+
"modifiers": []
|
384
295
|
},
|
385
|
-
|
386
|
-
|
387
|
-
"type": {
|
388
|
-
"__schema": "TypeRefSchema",
|
296
|
+
{
|
297
|
+
"__schema": "FunctionLikeSchema",
|
389
298
|
"location": {
|
390
299
|
"filePath": "linter.main.runtime.ts",
|
391
|
-
"line":
|
300
|
+
"line": 43,
|
392
301
|
"character": 3
|
393
302
|
},
|
394
|
-
"
|
395
|
-
|
396
|
-
"isOptional": true,
|
397
|
-
"defaultValue": "{\n extensionFormats: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],\n fixTypes: ['layout', 'problem', 'suggestion'],\n }"
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"__schema": "FunctionLikeSchema",
|
401
|
-
"location": {
|
402
|
-
"filePath": "linter.main.runtime.ts",
|
403
|
-
"line": 54,
|
404
|
-
"character": 3
|
405
|
-
},
|
406
|
-
"signature": "(method) LinterMain.provider([envs, cli, component, loggerAspect, workspace]: [EnvsMain, CLIMain, ComponentMain, LoggerMain, Workspace], config: LinterConfig): Promise<LinterMain>",
|
407
|
-
"name": "provider",
|
408
|
-
"params": [
|
409
|
-
{
|
410
|
-
"__schema": "ParameterSchema",
|
303
|
+
"doc": {
|
304
|
+
"__schema": "DocSchema",
|
411
305
|
"location": {
|
412
306
|
"filePath": "linter.main.runtime.ts",
|
413
|
-
"line":
|
414
|
-
"character":
|
307
|
+
"line": 39,
|
308
|
+
"character": 3
|
415
309
|
},
|
416
|
-
"
|
417
|
-
"
|
418
|
-
|
310
|
+
"raw": "/**\n * create a lint task for build pipelines.\n * @param name name of the task.\n */",
|
311
|
+
"comment": "create a lint task for build pipelines.",
|
312
|
+
"tags": [
|
313
|
+
{
|
314
|
+
"__schema": "PropertyLikeTagSchema",
|
315
|
+
"location": {
|
316
|
+
"filePath": "linter.main.runtime.ts",
|
317
|
+
"line": 41,
|
318
|
+
"character": 6
|
319
|
+
},
|
320
|
+
"name": "name",
|
321
|
+
"tagName": "parameter",
|
322
|
+
"comment": "name of the task."
|
323
|
+
}
|
324
|
+
]
|
325
|
+
},
|
326
|
+
"signature": "(method) LinterMain.createTask(name?: string): LintTask",
|
327
|
+
"name": "createTask",
|
328
|
+
"params": [
|
329
|
+
{
|
330
|
+
"__schema": "ParameterSchema",
|
419
331
|
"location": {
|
420
332
|
"filePath": "linter.main.runtime.ts",
|
421
|
-
"line":
|
422
|
-
"character":
|
333
|
+
"line": 43,
|
334
|
+
"character": 14
|
423
335
|
},
|
424
|
-
"
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
},
|
432
|
-
"name": "EnvsMain",
|
433
|
-
"componentId": {
|
434
|
-
"scope": "teambit.envs",
|
435
|
-
"name": "envs"
|
436
|
-
}
|
437
|
-
},
|
438
|
-
{
|
439
|
-
"__schema": "TypeRefSchema",
|
440
|
-
"location": {
|
441
|
-
"filePath": "linter.main.runtime.ts",
|
442
|
-
"line": 55,
|
443
|
-
"character": 65
|
444
|
-
},
|
445
|
-
"name": "CLIMain",
|
446
|
-
"componentId": {
|
447
|
-
"scope": "teambit.harmony",
|
448
|
-
"name": "cli"
|
449
|
-
}
|
450
|
-
},
|
451
|
-
{
|
452
|
-
"__schema": "TypeRefSchema",
|
453
|
-
"location": {
|
454
|
-
"filePath": "linter.main.runtime.ts",
|
455
|
-
"line": 55,
|
456
|
-
"character": 74
|
457
|
-
},
|
458
|
-
"name": "ComponentMain",
|
459
|
-
"componentId": {
|
460
|
-
"scope": "teambit.component",
|
461
|
-
"name": "component"
|
462
|
-
}
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"__schema": "TypeRefSchema",
|
466
|
-
"location": {
|
467
|
-
"filePath": "linter.main.runtime.ts",
|
468
|
-
"line": 55,
|
469
|
-
"character": 89
|
470
|
-
},
|
471
|
-
"name": "LoggerMain",
|
472
|
-
"componentId": {
|
473
|
-
"scope": "teambit.harmony",
|
474
|
-
"name": "logger"
|
475
|
-
}
|
336
|
+
"name": "name",
|
337
|
+
"type": {
|
338
|
+
"__schema": "KeywordTypeSchema",
|
339
|
+
"location": {
|
340
|
+
"filePath": "linter.main.runtime.ts",
|
341
|
+
"line": 43,
|
342
|
+
"character": 21
|
476
343
|
},
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
"componentId": {
|
486
|
-
"scope": "teambit.workspace",
|
487
|
-
"name": "workspace"
|
488
|
-
}
|
489
|
-
}
|
490
|
-
]
|
491
|
-
},
|
492
|
-
"isOptional": false,
|
493
|
-
"isSpread": false
|
494
|
-
},
|
495
|
-
{
|
496
|
-
"__schema": "ParameterSchema",
|
344
|
+
"name": "string"
|
345
|
+
},
|
346
|
+
"isOptional": true,
|
347
|
+
"isSpread": false
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"returnType": {
|
351
|
+
"__schema": "TypeRefSchema",
|
497
352
|
"location": {
|
498
353
|
"filePath": "linter.main.runtime.ts",
|
499
|
-
"line":
|
500
|
-
"character":
|
501
|
-
},
|
502
|
-
"name": "config",
|
503
|
-
"type": {
|
504
|
-
"__schema": "TypeRefSchema",
|
505
|
-
"location": {
|
506
|
-
"filePath": "linter.main.runtime.ts",
|
507
|
-
"line": 56,
|
508
|
-
"character": 13
|
509
|
-
},
|
510
|
-
"name": "LinterConfig"
|
354
|
+
"line": 43,
|
355
|
+
"character": 3
|
511
356
|
},
|
512
|
-
"
|
513
|
-
"isSpread": false
|
514
|
-
}
|
515
|
-
],
|
516
|
-
"returnType": {
|
517
|
-
"__schema": "InferenceTypeSchema",
|
518
|
-
"location": {
|
519
|
-
"filePath": "linter.main.runtime.ts",
|
520
|
-
"line": 54,
|
521
|
-
"character": 3
|
357
|
+
"name": "LintTask"
|
522
358
|
},
|
523
|
-
"
|
359
|
+
"modifiers": []
|
524
360
|
},
|
525
|
-
"modifiers": [
|
526
|
-
"static",
|
527
|
-
"async"
|
528
|
-
]
|
529
|
-
}
|
530
|
-
],
|
531
|
-
"extendsNodes": [],
|
532
|
-
"implementNodes": []
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"__schema": "TypeSchema",
|
536
|
-
"location": {
|
537
|
-
"filePath": "linter.main.runtime.ts",
|
538
|
-
"line": 13,
|
539
|
-
"character": 1
|
540
|
-
},
|
541
|
-
"signature": "type LinterConfig = {\n extensionFormats: string[];\n fixTypes?: FixTypes | undefined;\n}",
|
542
|
-
"name": "LinterConfig",
|
543
|
-
"type": {
|
544
|
-
"__schema": "TypeLiteralSchema",
|
545
|
-
"location": {
|
546
|
-
"filePath": "linter.main.runtime.ts",
|
547
|
-
"line": 13,
|
548
|
-
"character": 28
|
549
|
-
},
|
550
|
-
"members": [
|
551
361
|
{
|
552
362
|
"__schema": "VariableLikeSchema",
|
553
363
|
"location": {
|
554
364
|
"filePath": "linter.main.runtime.ts",
|
555
|
-
"line":
|
365
|
+
"line": 47,
|
556
366
|
"character": 3
|
557
367
|
},
|
558
|
-
"
|
559
|
-
|
560
|
-
"location": {
|
561
|
-
"filePath": "linter.main.runtime.ts",
|
562
|
-
"line": 14,
|
563
|
-
"character": 3
|
564
|
-
},
|
565
|
-
"raw": "/**\n * extension formats to lint.\n */",
|
566
|
-
"comment": "extension formats to lint."
|
567
|
-
},
|
568
|
-
"signature": "(property) extensionFormats: string[]",
|
569
|
-
"name": "extensionFormats",
|
368
|
+
"signature": "(property) LinterMain.dependencies: Aspect[]",
|
369
|
+
"name": "dependencies",
|
570
370
|
"type": {
|
571
|
-
"__schema": "
|
371
|
+
"__schema": "InferenceTypeSchema",
|
572
372
|
"location": {
|
573
373
|
"filePath": "linter.main.runtime.ts",
|
574
|
-
"line":
|
575
|
-
"character":
|
374
|
+
"line": 47,
|
375
|
+
"character": 3
|
576
376
|
},
|
577
|
-
"type":
|
578
|
-
"__schema": "KeywordTypeSchema",
|
579
|
-
"location": {
|
580
|
-
"filePath": "linter.main.runtime.ts",
|
581
|
-
"line": 17,
|
582
|
-
"character": 21
|
583
|
-
},
|
584
|
-
"name": "string"
|
585
|
-
}
|
377
|
+
"type": "Aspect[]"
|
586
378
|
},
|
587
|
-
"isOptional":
|
379
|
+
"isOptional": true,
|
380
|
+
"defaultValue": "[EnvsAspect, CLIAspect, ComponentAspect, LoggerAspect, WorkspaceAspect]"
|
588
381
|
},
|
589
382
|
{
|
590
383
|
"__schema": "VariableLikeSchema",
|
591
384
|
"location": {
|
592
385
|
"filePath": "linter.main.runtime.ts",
|
593
|
-
"line":
|
386
|
+
"line": 49,
|
594
387
|
"character": 3
|
595
388
|
},
|
596
|
-
"signature": "(property)
|
597
|
-
"name": "
|
389
|
+
"signature": "(property) LinterMain.defaultConfig: LinterConfig",
|
390
|
+
"name": "defaultConfig",
|
598
391
|
"type": {
|
599
392
|
"__schema": "TypeRefSchema",
|
600
393
|
"location": {
|
601
394
|
"filePath": "linter.main.runtime.ts",
|
602
|
-
"line":
|
603
|
-
"character":
|
395
|
+
"line": 49,
|
396
|
+
"character": 3
|
604
397
|
},
|
605
|
-
"name": "
|
606
|
-
"internalFilePath": "linter-context.ts"
|
398
|
+
"name": "LinterConfig"
|
607
399
|
},
|
608
|
-
"isOptional": true
|
609
|
-
|
610
|
-
|
611
|
-
}
|
612
|
-
},
|
613
|
-
{
|
614
|
-
"__schema": "TypeSchema",
|
615
|
-
"location": {
|
616
|
-
"filePath": "linter.ts",
|
617
|
-
"line": 121,
|
618
|
-
"character": 1
|
619
|
-
},
|
620
|
-
"signature": "type LintResults = {\n results: ComponentLintResult[];\n totalErrorCount: number;\n totalFatalErrorCount?: number | undefined;\n totalFixableErrorCount?: number | undefined;\n totalFixableWarningCount?: number | undefined;\n totalWarningCount: number;\n ... 5 more ...;\n errors: Error[];\n}",
|
621
|
-
"name": "LintResults",
|
622
|
-
"type": {
|
623
|
-
"__schema": "TypeLiteralSchema",
|
624
|
-
"location": {
|
625
|
-
"filePath": "linter.ts",
|
626
|
-
"line": 121,
|
627
|
-
"character": 27
|
628
|
-
},
|
629
|
-
"members": [
|
400
|
+
"isOptional": true,
|
401
|
+
"defaultValue": "{\n extensionFormats: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],\n fixTypes: ['layout', 'problem', 'suggestion'],\n }"
|
402
|
+
},
|
630
403
|
{
|
631
|
-
"__schema": "
|
404
|
+
"__schema": "FunctionLikeSchema",
|
632
405
|
"location": {
|
633
|
-
"filePath": "linter.ts",
|
634
|
-
"line":
|
406
|
+
"filePath": "linter.main.runtime.ts",
|
407
|
+
"line": 54,
|
635
408
|
"character": 3
|
636
409
|
},
|
637
|
-
"signature": "(
|
638
|
-
"name": "
|
639
|
-
"
|
640
|
-
|
641
|
-
|
642
|
-
"filePath": "linter.ts",
|
643
|
-
"line": 122,
|
644
|
-
"character": 12
|
645
|
-
},
|
646
|
-
"type": {
|
647
|
-
"__schema": "TypeRefSchema",
|
410
|
+
"signature": "(method) LinterMain.provider([envs, cli, component, loggerAspect, workspace]: [EnvsMain, CLIMain, ComponentMain, LoggerMain, Workspace], config: LinterConfig): Promise<LinterMain>",
|
411
|
+
"name": "provider",
|
412
|
+
"params": [
|
413
|
+
{
|
414
|
+
"__schema": "ParameterSchema",
|
648
415
|
"location": {
|
649
|
-
"filePath": "linter.ts",
|
650
|
-
"line":
|
651
|
-
"character":
|
416
|
+
"filePath": "linter.main.runtime.ts",
|
417
|
+
"line": 55,
|
418
|
+
"character": 5
|
419
|
+
},
|
420
|
+
"name": "[ envs, cli, component, loggerAspect, workspace ]",
|
421
|
+
"type": {
|
422
|
+
"__schema": "TupleTypeSchema",
|
423
|
+
"location": {
|
424
|
+
"filePath": "linter.main.runtime.ts",
|
425
|
+
"line": 55,
|
426
|
+
"character": 54
|
427
|
+
},
|
428
|
+
"elements": [
|
429
|
+
{
|
430
|
+
"__schema": "TypeRefSchema",
|
431
|
+
"location": {
|
432
|
+
"filePath": "linter.main.runtime.ts",
|
433
|
+
"line": 55,
|
434
|
+
"character": 55
|
435
|
+
},
|
436
|
+
"name": "EnvsMain"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"__schema": "TypeRefSchema",
|
440
|
+
"location": {
|
441
|
+
"filePath": "linter.main.runtime.ts",
|
442
|
+
"line": 55,
|
443
|
+
"character": 65
|
444
|
+
},
|
445
|
+
"name": "CLIMain"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"__schema": "TypeRefSchema",
|
449
|
+
"location": {
|
450
|
+
"filePath": "linter.main.runtime.ts",
|
451
|
+
"line": 55,
|
452
|
+
"character": 74
|
453
|
+
},
|
454
|
+
"name": "ComponentMain"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"__schema": "TypeRefSchema",
|
458
|
+
"location": {
|
459
|
+
"filePath": "linter.main.runtime.ts",
|
460
|
+
"line": 55,
|
461
|
+
"character": 89
|
462
|
+
},
|
463
|
+
"name": "LoggerMain"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"__schema": "TypeRefSchema",
|
467
|
+
"location": {
|
468
|
+
"filePath": "linter.main.runtime.ts",
|
469
|
+
"line": 55,
|
470
|
+
"character": 101
|
471
|
+
},
|
472
|
+
"name": "Workspace"
|
473
|
+
}
|
474
|
+
]
|
652
475
|
},
|
653
|
-
"
|
476
|
+
"isOptional": false,
|
477
|
+
"isSpread": false
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"__schema": "ParameterSchema",
|
481
|
+
"location": {
|
482
|
+
"filePath": "linter.main.runtime.ts",
|
483
|
+
"line": 56,
|
484
|
+
"character": 5
|
485
|
+
},
|
486
|
+
"name": "config",
|
487
|
+
"type": {
|
488
|
+
"__schema": "TypeRefSchema",
|
489
|
+
"location": {
|
490
|
+
"filePath": "linter.main.runtime.ts",
|
491
|
+
"line": 56,
|
492
|
+
"character": 13
|
493
|
+
},
|
494
|
+
"name": "LinterConfig"
|
495
|
+
},
|
496
|
+
"isOptional": false,
|
497
|
+
"isSpread": false
|
654
498
|
}
|
499
|
+
],
|
500
|
+
"returnType": {
|
501
|
+
"__schema": "InferenceTypeSchema",
|
502
|
+
"location": {
|
503
|
+
"filePath": "linter.main.runtime.ts",
|
504
|
+
"line": 54,
|
505
|
+
"character": 3
|
506
|
+
},
|
507
|
+
"type": "Promise<LinterMain>"
|
655
508
|
},
|
656
|
-
"
|
509
|
+
"modifiers": [
|
510
|
+
"static",
|
511
|
+
"async"
|
512
|
+
]
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"extendsNodes": [],
|
516
|
+
"implementNodes": []
|
517
|
+
}
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"__schema": "ExportSchema",
|
521
|
+
"location": {
|
522
|
+
"filePath": "index.ts",
|
523
|
+
"line": 4,
|
524
|
+
"character": 27
|
525
|
+
},
|
526
|
+
"name": "LinterConfig",
|
527
|
+
"exportNode": {
|
528
|
+
"__schema": "TypeSchema",
|
529
|
+
"location": {
|
530
|
+
"filePath": "linter.main.runtime.ts",
|
531
|
+
"line": 13,
|
532
|
+
"character": 1
|
533
|
+
},
|
534
|
+
"signature": "type LinterConfig = {\n extensionFormats: string[];\n fixTypes?: FixTypes | undefined;\n}",
|
535
|
+
"name": "LinterConfig",
|
536
|
+
"type": {
|
537
|
+
"__schema": "TypeLiteralSchema",
|
538
|
+
"location": {
|
539
|
+
"filePath": "linter.main.runtime.ts",
|
540
|
+
"line": 13,
|
541
|
+
"character": 28
|
657
542
|
},
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
"filePath": "linter.ts",
|
662
|
-
"line": 126,
|
663
|
-
"character": 3
|
664
|
-
},
|
665
|
-
"doc": {
|
666
|
-
"__schema": "DocSchema",
|
543
|
+
"members": [
|
544
|
+
{
|
545
|
+
"__schema": "VariableLikeSchema",
|
667
546
|
"location": {
|
668
|
-
"filePath": "linter.ts",
|
669
|
-
"line":
|
547
|
+
"filePath": "linter.main.runtime.ts",
|
548
|
+
"line": 17,
|
670
549
|
"character": 3
|
671
550
|
},
|
672
|
-
"
|
673
|
-
|
551
|
+
"doc": {
|
552
|
+
"__schema": "DocSchema",
|
553
|
+
"location": {
|
554
|
+
"filePath": "linter.main.runtime.ts",
|
555
|
+
"line": 14,
|
556
|
+
"character": 3
|
557
|
+
},
|
558
|
+
"raw": "/**\n * extension formats to lint.\n */",
|
559
|
+
"comment": "extension formats to lint."
|
560
|
+
},
|
561
|
+
"signature": "(property) extensionFormats: string[]",
|
562
|
+
"name": "extensionFormats",
|
563
|
+
"type": {
|
564
|
+
"__schema": "TypeArraySchema",
|
565
|
+
"location": {
|
566
|
+
"filePath": "linter.main.runtime.ts",
|
567
|
+
"line": 17,
|
568
|
+
"character": 21
|
569
|
+
},
|
570
|
+
"type": {
|
571
|
+
"__schema": "KeywordTypeSchema",
|
572
|
+
"location": {
|
573
|
+
"filePath": "linter.main.runtime.ts",
|
574
|
+
"line": 17,
|
575
|
+
"character": 21
|
576
|
+
},
|
577
|
+
"name": "string"
|
578
|
+
}
|
579
|
+
},
|
580
|
+
"isOptional": false
|
674
581
|
},
|
675
|
-
|
676
|
-
|
677
|
-
"type": {
|
678
|
-
"__schema": "KeywordTypeSchema",
|
582
|
+
{
|
583
|
+
"__schema": "VariableLikeSchema",
|
679
584
|
"location": {
|
680
|
-
"filePath": "linter.ts",
|
681
|
-
"line":
|
682
|
-
"character":
|
585
|
+
"filePath": "linter.main.runtime.ts",
|
586
|
+
"line": 18,
|
587
|
+
"character": 3
|
683
588
|
},
|
684
|
-
"
|
685
|
-
|
686
|
-
|
589
|
+
"signature": "(property) fixTypes?: FixTypes | undefined",
|
590
|
+
"name": "fixTypes",
|
591
|
+
"type": {
|
592
|
+
"__schema": "TypeRefSchema",
|
593
|
+
"location": {
|
594
|
+
"filePath": "linter.main.runtime.ts",
|
595
|
+
"line": 18,
|
596
|
+
"character": 14
|
597
|
+
},
|
598
|
+
"name": "FixTypes"
|
599
|
+
},
|
600
|
+
"isOptional": true
|
601
|
+
}
|
602
|
+
]
|
603
|
+
}
|
604
|
+
}
|
605
|
+
},
|
606
|
+
{
|
607
|
+
"__schema": "ExportSchema",
|
608
|
+
"location": {
|
609
|
+
"filePath": "index.ts",
|
610
|
+
"line": 5,
|
611
|
+
"character": 15
|
612
|
+
},
|
613
|
+
"name": "LintResults",
|
614
|
+
"exportNode": {
|
615
|
+
"__schema": "TypeSchema",
|
616
|
+
"location": {
|
617
|
+
"filePath": "linter.ts",
|
618
|
+
"line": 121,
|
619
|
+
"character": 1
|
620
|
+
},
|
621
|
+
"signature": "type LintResults = {\n results: ComponentLintResult[];\n totalErrorCount: number;\n totalFatalErrorCount?: number | undefined;\n totalFixableErrorCount?: number | undefined;\n totalFixableWarningCount?: number | undefined;\n totalWarningCount: number;\n ... 5 more ...;\n errors: Error[];\n}",
|
622
|
+
"name": "LintResults",
|
623
|
+
"type": {
|
624
|
+
"__schema": "TypeLiteralSchema",
|
625
|
+
"location": {
|
626
|
+
"filePath": "linter.ts",
|
627
|
+
"line": 121,
|
628
|
+
"character": 27
|
687
629
|
},
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
"filePath": "linter.ts",
|
692
|
-
"line": 130,
|
693
|
-
"character": 3
|
694
|
-
},
|
695
|
-
"doc": {
|
696
|
-
"__schema": "DocSchema",
|
630
|
+
"members": [
|
631
|
+
{
|
632
|
+
"__schema": "VariableLikeSchema",
|
697
633
|
"location": {
|
698
634
|
"filePath": "linter.ts",
|
699
|
-
"line":
|
635
|
+
"line": 122,
|
700
636
|
"character": 3
|
701
637
|
},
|
702
|
-
"
|
703
|
-
"
|
638
|
+
"signature": "(property) results: ComponentLintResult[]",
|
639
|
+
"name": "results",
|
640
|
+
"type": {
|
641
|
+
"__schema": "TypeArraySchema",
|
642
|
+
"location": {
|
643
|
+
"filePath": "linter.ts",
|
644
|
+
"line": 122,
|
645
|
+
"character": 12
|
646
|
+
},
|
647
|
+
"type": {
|
648
|
+
"__schema": "TypeRefSchema",
|
649
|
+
"location": {
|
650
|
+
"filePath": "linter.ts",
|
651
|
+
"line": 122,
|
652
|
+
"character": 12
|
653
|
+
},
|
654
|
+
"name": "ComponentLintResult"
|
655
|
+
}
|
656
|
+
},
|
657
|
+
"isOptional": false
|
704
658
|
},
|
705
|
-
|
706
|
-
|
707
|
-
"type": {
|
708
|
-
"__schema": "KeywordTypeSchema",
|
659
|
+
{
|
660
|
+
"__schema": "VariableLikeSchema",
|
709
661
|
"location": {
|
710
662
|
"filePath": "linter.ts",
|
711
|
-
"line":
|
712
|
-
"character":
|
663
|
+
"line": 126,
|
664
|
+
"character": 3
|
665
|
+
},
|
666
|
+
"doc": {
|
667
|
+
"__schema": "DocSchema",
|
668
|
+
"location": {
|
669
|
+
"filePath": "linter.ts",
|
670
|
+
"line": 123,
|
671
|
+
"character": 3
|
672
|
+
},
|
673
|
+
"raw": "/**\n * total errors count of the component (from all of the components).\n */",
|
674
|
+
"comment": "total errors count of the component (from all of the components)."
|
675
|
+
},
|
676
|
+
"signature": "(property) totalErrorCount: number",
|
677
|
+
"name": "totalErrorCount",
|
678
|
+
"type": {
|
679
|
+
"__schema": "KeywordTypeSchema",
|
680
|
+
"location": {
|
681
|
+
"filePath": "linter.ts",
|
682
|
+
"line": 126,
|
683
|
+
"character": 20
|
684
|
+
},
|
685
|
+
"name": "number"
|
713
686
|
},
|
714
|
-
"
|
715
|
-
},
|
716
|
-
"isOptional": true
|
717
|
-
},
|
718
|
-
{
|
719
|
-
"__schema": "VariableLikeSchema",
|
720
|
-
"location": {
|
721
|
-
"filePath": "linter.ts",
|
722
|
-
"line": 134,
|
723
|
-
"character": 3
|
687
|
+
"isOptional": false
|
724
688
|
},
|
725
|
-
|
726
|
-
"__schema": "
|
689
|
+
{
|
690
|
+
"__schema": "VariableLikeSchema",
|
727
691
|
"location": {
|
728
692
|
"filePath": "linter.ts",
|
729
|
-
"line":
|
693
|
+
"line": 130,
|
730
694
|
"character": 3
|
731
695
|
},
|
732
|
-
"
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
"
|
741
|
-
"line": 134,
|
742
|
-
"character": 28
|
696
|
+
"doc": {
|
697
|
+
"__schema": "DocSchema",
|
698
|
+
"location": {
|
699
|
+
"filePath": "linter.ts",
|
700
|
+
"line": 127,
|
701
|
+
"character": 3
|
702
|
+
},
|
703
|
+
"raw": "/**\n * total fatal errors count of the component (from all of the components).\n */",
|
704
|
+
"comment": "total fatal errors count of the component (from all of the components)."
|
743
705
|
},
|
744
|
-
"
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
706
|
+
"signature": "(property) totalFatalErrorCount?: number | undefined",
|
707
|
+
"name": "totalFatalErrorCount",
|
708
|
+
"type": {
|
709
|
+
"__schema": "KeywordTypeSchema",
|
710
|
+
"location": {
|
711
|
+
"filePath": "linter.ts",
|
712
|
+
"line": 130,
|
713
|
+
"character": 26
|
714
|
+
},
|
715
|
+
"name": "number"
|
716
|
+
},
|
717
|
+
"isOptional": true
|
754
718
|
},
|
755
|
-
|
756
|
-
"__schema": "
|
719
|
+
{
|
720
|
+
"__schema": "VariableLikeSchema",
|
757
721
|
"location": {
|
758
722
|
"filePath": "linter.ts",
|
759
|
-
"line":
|
723
|
+
"line": 134,
|
760
724
|
"character": 3
|
761
725
|
},
|
762
|
-
"
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
"
|
771
|
-
"line": 138,
|
772
|
-
"character": 30
|
726
|
+
"doc": {
|
727
|
+
"__schema": "DocSchema",
|
728
|
+
"location": {
|
729
|
+
"filePath": "linter.ts",
|
730
|
+
"line": 131,
|
731
|
+
"character": 3
|
732
|
+
},
|
733
|
+
"raw": "/**\n * total fixable errors count of the component (from all of the components).\n */",
|
734
|
+
"comment": "total fixable errors count of the component (from all of the components)."
|
773
735
|
},
|
774
|
-
"
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
736
|
+
"signature": "(property) totalFixableErrorCount?: number | undefined",
|
737
|
+
"name": "totalFixableErrorCount",
|
738
|
+
"type": {
|
739
|
+
"__schema": "KeywordTypeSchema",
|
740
|
+
"location": {
|
741
|
+
"filePath": "linter.ts",
|
742
|
+
"line": 134,
|
743
|
+
"character": 28
|
744
|
+
},
|
745
|
+
"name": "number"
|
746
|
+
},
|
747
|
+
"isOptional": true
|
784
748
|
},
|
785
|
-
|
786
|
-
"__schema": "
|
749
|
+
{
|
750
|
+
"__schema": "VariableLikeSchema",
|
787
751
|
"location": {
|
788
752
|
"filePath": "linter.ts",
|
789
|
-
"line":
|
753
|
+
"line": 138,
|
790
754
|
"character": 3
|
791
755
|
},
|
792
|
-
"
|
793
|
-
|
756
|
+
"doc": {
|
757
|
+
"__schema": "DocSchema",
|
758
|
+
"location": {
|
759
|
+
"filePath": "linter.ts",
|
760
|
+
"line": 135,
|
761
|
+
"character": 3
|
762
|
+
},
|
763
|
+
"raw": "/**\n * total fatal warning count of the component (from all of the components).\n */",
|
764
|
+
"comment": "total fatal warning count of the component (from all of the components)."
|
765
|
+
},
|
766
|
+
"signature": "(property) totalFixableWarningCount?: number | undefined",
|
767
|
+
"name": "totalFixableWarningCount",
|
768
|
+
"type": {
|
769
|
+
"__schema": "KeywordTypeSchema",
|
770
|
+
"location": {
|
771
|
+
"filePath": "linter.ts",
|
772
|
+
"line": 138,
|
773
|
+
"character": 30
|
774
|
+
},
|
775
|
+
"name": "number"
|
776
|
+
},
|
777
|
+
"isOptional": true
|
794
778
|
},
|
795
|
-
|
796
|
-
|
797
|
-
"type": {
|
798
|
-
"__schema": "KeywordTypeSchema",
|
779
|
+
{
|
780
|
+
"__schema": "VariableLikeSchema",
|
799
781
|
"location": {
|
800
782
|
"filePath": "linter.ts",
|
801
783
|
"line": 142,
|
802
|
-
"character":
|
784
|
+
"character": 3
|
803
785
|
},
|
804
|
-
"
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
786
|
+
"doc": {
|
787
|
+
"__schema": "DocSchema",
|
788
|
+
"location": {
|
789
|
+
"filePath": "linter.ts",
|
790
|
+
"line": 139,
|
791
|
+
"character": 3
|
792
|
+
},
|
793
|
+
"raw": "/**\n * total warning count of the component (from all of the components).\n */",
|
794
|
+
"comment": "total warning count of the component (from all of the components)."
|
795
|
+
},
|
796
|
+
"signature": "(property) totalWarningCount: number",
|
797
|
+
"name": "totalWarningCount",
|
798
|
+
"type": {
|
799
|
+
"__schema": "KeywordTypeSchema",
|
800
|
+
"location": {
|
801
|
+
"filePath": "linter.ts",
|
802
|
+
"line": 142,
|
803
|
+
"character": 22
|
804
|
+
},
|
805
|
+
"name": "number"
|
806
|
+
},
|
807
|
+
"isOptional": false
|
814
808
|
},
|
815
|
-
|
816
|
-
|
817
|
-
"type": {
|
818
|
-
"__schema": "KeywordTypeSchema",
|
809
|
+
{
|
810
|
+
"__schema": "VariableLikeSchema",
|
819
811
|
"location": {
|
820
812
|
"filePath": "linter.ts",
|
821
813
|
"line": 144,
|
822
|
-
"character":
|
814
|
+
"character": 3
|
823
815
|
},
|
824
|
-
"
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
},
|
835
|
-
"signature": "(property) totalComponentsWithFatalErrorCount?: number | undefined",
|
836
|
-
"name": "totalComponentsWithFatalErrorCount",
|
837
|
-
"type": {
|
838
|
-
"__schema": "KeywordTypeSchema",
|
839
|
-
"location": {
|
840
|
-
"filePath": "linter.ts",
|
841
|
-
"line": 145,
|
842
|
-
"character": 40
|
816
|
+
"signature": "(property) totalComponentsWithErrorCount: number",
|
817
|
+
"name": "totalComponentsWithErrorCount",
|
818
|
+
"type": {
|
819
|
+
"__schema": "KeywordTypeSchema",
|
820
|
+
"location": {
|
821
|
+
"filePath": "linter.ts",
|
822
|
+
"line": 144,
|
823
|
+
"character": 34
|
824
|
+
},
|
825
|
+
"name": "number"
|
843
826
|
},
|
844
|
-
"
|
845
|
-
},
|
846
|
-
"isOptional": true
|
847
|
-
},
|
848
|
-
{
|
849
|
-
"__schema": "VariableLikeSchema",
|
850
|
-
"location": {
|
851
|
-
"filePath": "linter.ts",
|
852
|
-
"line": 146,
|
853
|
-
"character": 3
|
827
|
+
"isOptional": false
|
854
828
|
},
|
855
|
-
|
856
|
-
|
857
|
-
"type": {
|
858
|
-
"__schema": "KeywordTypeSchema",
|
829
|
+
{
|
830
|
+
"__schema": "VariableLikeSchema",
|
859
831
|
"location": {
|
860
832
|
"filePath": "linter.ts",
|
861
|
-
"line":
|
862
|
-
"character":
|
833
|
+
"line": 145,
|
834
|
+
"character": 3
|
863
835
|
},
|
864
|
-
"
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
},
|
875
|
-
"signature": "(property) totalComponentsWithFixableWarningCount?: number | undefined",
|
876
|
-
"name": "totalComponentsWithFixableWarningCount",
|
877
|
-
"type": {
|
878
|
-
"__schema": "KeywordTypeSchema",
|
879
|
-
"location": {
|
880
|
-
"filePath": "linter.ts",
|
881
|
-
"line": 147,
|
882
|
-
"character": 44
|
836
|
+
"signature": "(property) totalComponentsWithFatalErrorCount?: number | undefined",
|
837
|
+
"name": "totalComponentsWithFatalErrorCount",
|
838
|
+
"type": {
|
839
|
+
"__schema": "KeywordTypeSchema",
|
840
|
+
"location": {
|
841
|
+
"filePath": "linter.ts",
|
842
|
+
"line": 145,
|
843
|
+
"character": 40
|
844
|
+
},
|
845
|
+
"name": "number"
|
883
846
|
},
|
884
|
-
"
|
885
|
-
},
|
886
|
-
"isOptional": true
|
887
|
-
},
|
888
|
-
{
|
889
|
-
"__schema": "VariableLikeSchema",
|
890
|
-
"location": {
|
891
|
-
"filePath": "linter.ts",
|
892
|
-
"line": 148,
|
893
|
-
"character": 3
|
847
|
+
"isOptional": true
|
894
848
|
},
|
895
|
-
|
896
|
-
|
897
|
-
"type": {
|
898
|
-
"__schema": "KeywordTypeSchema",
|
849
|
+
{
|
850
|
+
"__schema": "VariableLikeSchema",
|
899
851
|
"location": {
|
900
852
|
"filePath": "linter.ts",
|
901
|
-
"line":
|
902
|
-
"character":
|
853
|
+
"line": 146,
|
854
|
+
"character": 3
|
903
855
|
},
|
904
|
-
"
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
856
|
+
"signature": "(property) totalComponentsWithFixableErrorCount?: number | undefined",
|
857
|
+
"name": "totalComponentsWithFixableErrorCount",
|
858
|
+
"type": {
|
859
|
+
"__schema": "KeywordTypeSchema",
|
860
|
+
"location": {
|
861
|
+
"filePath": "linter.ts",
|
862
|
+
"line": 146,
|
863
|
+
"character": 42
|
864
|
+
},
|
865
|
+
"name": "number"
|
866
|
+
},
|
867
|
+
"isOptional": true
|
914
868
|
},
|
915
|
-
|
916
|
-
|
917
|
-
"type": {
|
918
|
-
"__schema": "TypeArraySchema",
|
869
|
+
{
|
870
|
+
"__schema": "VariableLikeSchema",
|
919
871
|
"location": {
|
920
872
|
"filePath": "linter.ts",
|
921
|
-
"line":
|
922
|
-
"character":
|
873
|
+
"line": 147,
|
874
|
+
"character": 3
|
923
875
|
},
|
876
|
+
"signature": "(property) totalComponentsWithFixableWarningCount?: number | undefined",
|
877
|
+
"name": "totalComponentsWithFixableWarningCount",
|
924
878
|
"type": {
|
925
|
-
"__schema": "
|
879
|
+
"__schema": "KeywordTypeSchema",
|
926
880
|
"location": {
|
927
881
|
"filePath": "linter.ts",
|
928
|
-
"line":
|
929
|
-
"character":
|
882
|
+
"line": 147,
|
883
|
+
"character": 44
|
930
884
|
},
|
931
|
-
"name": "
|
932
|
-
}
|
933
|
-
|
934
|
-
"isOptional": false
|
935
|
-
}
|
936
|
-
]
|
937
|
-
}
|
938
|
-
},
|
939
|
-
{
|
940
|
-
"__schema": "InterfaceSchema",
|
941
|
-
"location": {
|
942
|
-
"filePath": "linter.ts",
|
943
|
-
"line": 153,
|
944
|
-
"character": 1
|
945
|
-
},
|
946
|
-
"signature": "interface Linter",
|
947
|
-
"name": "Linter",
|
948
|
-
"members": [
|
949
|
-
{
|
950
|
-
"__schema": "VariableLikeSchema",
|
951
|
-
"location": {
|
952
|
-
"filePath": "linter.ts",
|
953
|
-
"line": 154,
|
954
|
-
"character": 3
|
955
|
-
},
|
956
|
-
"signature": "(property) Linter.id: string",
|
957
|
-
"name": "id",
|
958
|
-
"type": {
|
959
|
-
"__schema": "KeywordTypeSchema",
|
960
|
-
"location": {
|
961
|
-
"filePath": "linter.ts",
|
962
|
-
"line": 154,
|
963
|
-
"character": 7
|
885
|
+
"name": "number"
|
886
|
+
},
|
887
|
+
"isOptional": true
|
964
888
|
},
|
965
|
-
"name": "string"
|
966
|
-
},
|
967
|
-
"isOptional": false
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"__schema": "FunctionLikeSchema",
|
971
|
-
"location": {
|
972
|
-
"filePath": "linter.ts",
|
973
|
-
"line": 155,
|
974
|
-
"character": 3
|
975
|
-
},
|
976
|
-
"signature": "(method) Linter.lint(context: LinterContext, buildContext?: BuildContext): Promise<LintResults>",
|
977
|
-
"name": "lint",
|
978
|
-
"params": [
|
979
889
|
{
|
980
|
-
"__schema": "
|
890
|
+
"__schema": "VariableLikeSchema",
|
981
891
|
"location": {
|
982
892
|
"filePath": "linter.ts",
|
983
|
-
"line":
|
984
|
-
"character":
|
893
|
+
"line": 148,
|
894
|
+
"character": 3
|
985
895
|
},
|
986
|
-
"
|
896
|
+
"signature": "(property) totalComponentsWithWarningCount: number",
|
897
|
+
"name": "totalComponentsWithWarningCount",
|
987
898
|
"type": {
|
988
|
-
"__schema": "
|
899
|
+
"__schema": "KeywordTypeSchema",
|
989
900
|
"location": {
|
990
901
|
"filePath": "linter.ts",
|
991
|
-
"line":
|
992
|
-
"character":
|
902
|
+
"line": 148,
|
903
|
+
"character": 36
|
993
904
|
},
|
994
|
-
"name": "
|
905
|
+
"name": "number"
|
995
906
|
},
|
996
|
-
"isOptional": false
|
997
|
-
"isSpread": false
|
907
|
+
"isOptional": false
|
998
908
|
},
|
999
909
|
{
|
1000
|
-
"__schema": "
|
910
|
+
"__schema": "VariableLikeSchema",
|
1001
911
|
"location": {
|
1002
912
|
"filePath": "linter.ts",
|
1003
|
-
"line":
|
1004
|
-
"character":
|
913
|
+
"line": 150,
|
914
|
+
"character": 3
|
1005
915
|
},
|
1006
|
-
"
|
916
|
+
"signature": "(property) errors: Error[]",
|
917
|
+
"name": "errors",
|
1007
918
|
"type": {
|
1008
|
-
"__schema": "
|
919
|
+
"__schema": "TypeArraySchema",
|
1009
920
|
"location": {
|
1010
921
|
"filePath": "linter.ts",
|
1011
|
-
"line":
|
1012
|
-
"character":
|
922
|
+
"line": 150,
|
923
|
+
"character": 11
|
1013
924
|
},
|
1014
|
-
"
|
1015
|
-
|
1016
|
-
"
|
1017
|
-
|
925
|
+
"type": {
|
926
|
+
"__schema": "TypeRefSchema",
|
927
|
+
"location": {
|
928
|
+
"filePath": "linter.ts",
|
929
|
+
"line": 150,
|
930
|
+
"character": 11
|
931
|
+
},
|
932
|
+
"name": "Error"
|
1018
933
|
}
|
1019
934
|
},
|
1020
|
-
"isOptional":
|
1021
|
-
"isSpread": false
|
935
|
+
"isOptional": false
|
1022
936
|
}
|
1023
|
-
]
|
1024
|
-
"returnType": {
|
1025
|
-
"__schema": "TypeRefSchema",
|
1026
|
-
"location": {
|
1027
|
-
"filePath": "linter.ts",
|
1028
|
-
"line": 155,
|
1029
|
-
"character": 62
|
1030
|
-
},
|
1031
|
-
"name": "Promise",
|
1032
|
-
"typeArgs": [
|
1033
|
-
{
|
1034
|
-
"__schema": "TypeRefSchema",
|
1035
|
-
"location": {
|
1036
|
-
"filePath": "linter.ts",
|
1037
|
-
"line": 155,
|
1038
|
-
"character": 70
|
1039
|
-
},
|
1040
|
-
"name": "LintResults"
|
1041
|
-
}
|
1042
|
-
]
|
1043
|
-
},
|
1044
|
-
"modifiers": []
|
937
|
+
]
|
1045
938
|
}
|
1046
|
-
|
1047
|
-
"extendsNodes": []
|
939
|
+
}
|
1048
940
|
},
|
1049
941
|
{
|
1050
|
-
"__schema": "
|
942
|
+
"__schema": "ExportSchema",
|
1051
943
|
"location": {
|
1052
|
-
"filePath": "
|
1053
|
-
"line":
|
1054
|
-
"character":
|
944
|
+
"filePath": "index.ts",
|
945
|
+
"line": 5,
|
946
|
+
"character": 28
|
1055
947
|
},
|
1056
|
-
"
|
1057
|
-
"
|
1058
|
-
|
1059
|
-
"__schema": "TypeLiteralSchema",
|
948
|
+
"name": "Linter",
|
949
|
+
"exportNode": {
|
950
|
+
"__schema": "InterfaceSchema",
|
1060
951
|
"location": {
|
1061
952
|
"filePath": "linter.ts",
|
1062
|
-
"line":
|
1063
|
-
"character":
|
953
|
+
"line": 153,
|
954
|
+
"character": 1
|
1064
955
|
},
|
956
|
+
"signature": "interface Linter",
|
957
|
+
"name": "Linter",
|
1065
958
|
"members": [
|
1066
959
|
{
|
1067
960
|
"__schema": "VariableLikeSchema",
|
1068
961
|
"location": {
|
1069
962
|
"filePath": "linter.ts",
|
1070
|
-
"line":
|
963
|
+
"line": 154,
|
1071
964
|
"character": 3
|
1072
965
|
},
|
1073
|
-
"
|
1074
|
-
|
1075
|
-
"location": {
|
1076
|
-
"filePath": "linter.ts",
|
1077
|
-
"line": 44,
|
1078
|
-
"character": 3
|
1079
|
-
},
|
1080
|
-
"raw": "/**\n * path of the linted file.\n */",
|
1081
|
-
"comment": "path of the linted file."
|
1082
|
-
},
|
1083
|
-
"signature": "(property) filePath: string",
|
1084
|
-
"name": "filePath",
|
966
|
+
"signature": "(property) Linter.id: string",
|
967
|
+
"name": "id",
|
1085
968
|
"type": {
|
1086
969
|
"__schema": "KeywordTypeSchema",
|
1087
970
|
"location": {
|
1088
971
|
"filePath": "linter.ts",
|
1089
|
-
"line":
|
1090
|
-
"character":
|
972
|
+
"line": 154,
|
973
|
+
"character": 7
|
1091
974
|
},
|
1092
975
|
"name": "string"
|
1093
976
|
},
|
1094
977
|
"isOptional": false
|
1095
978
|
},
|
1096
979
|
{
|
1097
|
-
"__schema": "
|
980
|
+
"__schema": "FunctionLikeSchema",
|
1098
981
|
"location": {
|
1099
982
|
"filePath": "linter.ts",
|
1100
|
-
"line":
|
983
|
+
"line": 155,
|
1101
984
|
"character": 3
|
1102
985
|
},
|
1103
|
-
"
|
1104
|
-
|
986
|
+
"signature": "(method) Linter.lint(context: LinterContext, buildContext?: BuildContext): Promise<LintResults>",
|
987
|
+
"name": "lint",
|
988
|
+
"params": [
|
989
|
+
{
|
990
|
+
"__schema": "ParameterSchema",
|
991
|
+
"location": {
|
992
|
+
"filePath": "linter.ts",
|
993
|
+
"line": 155,
|
994
|
+
"character": 8
|
995
|
+
},
|
996
|
+
"name": "context",
|
997
|
+
"type": {
|
998
|
+
"__schema": "TypeRefSchema",
|
999
|
+
"location": {
|
1000
|
+
"filePath": "linter.ts",
|
1001
|
+
"line": 155,
|
1002
|
+
"character": 17
|
1003
|
+
},
|
1004
|
+
"name": "LinterContext"
|
1005
|
+
},
|
1006
|
+
"isOptional": false,
|
1007
|
+
"isSpread": false
|
1008
|
+
},
|
1009
|
+
{
|
1010
|
+
"__schema": "ParameterSchema",
|
1011
|
+
"location": {
|
1012
|
+
"filePath": "linter.ts",
|
1013
|
+
"line": 155,
|
1014
|
+
"character": 32
|
1015
|
+
},
|
1016
|
+
"name": "buildContext",
|
1017
|
+
"type": {
|
1018
|
+
"__schema": "TypeRefSchema",
|
1019
|
+
"location": {
|
1020
|
+
"filePath": "linter.ts",
|
1021
|
+
"line": 155,
|
1022
|
+
"character": 47
|
1023
|
+
},
|
1024
|
+
"name": "BuildContext"
|
1025
|
+
},
|
1026
|
+
"isOptional": true,
|
1027
|
+
"isSpread": false
|
1028
|
+
}
|
1029
|
+
],
|
1030
|
+
"returnType": {
|
1031
|
+
"__schema": "TypeRefSchema",
|
1105
1032
|
"location": {
|
1106
1033
|
"filePath": "linter.ts",
|
1107
|
-
"line":
|
1108
|
-
"character":
|
1034
|
+
"line": 155,
|
1035
|
+
"character": 62
|
1109
1036
|
},
|
1110
|
-
"
|
1111
|
-
"
|
1037
|
+
"name": "Promise",
|
1038
|
+
"typeArgs": [
|
1039
|
+
{
|
1040
|
+
"__schema": "TypeRefSchema",
|
1041
|
+
"location": {
|
1042
|
+
"filePath": "linter.ts",
|
1043
|
+
"line": 155,
|
1044
|
+
"character": 70
|
1045
|
+
},
|
1046
|
+
"name": "LintResults"
|
1047
|
+
}
|
1048
|
+
]
|
1112
1049
|
},
|
1113
|
-
"
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1050
|
+
"modifiers": []
|
1051
|
+
}
|
1052
|
+
],
|
1053
|
+
"extendsNodes": []
|
1054
|
+
}
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
"__schema": "ExportSchema",
|
1058
|
+
"location": {
|
1059
|
+
"filePath": "index.ts",
|
1060
|
+
"line": 5,
|
1061
|
+
"character": 36
|
1062
|
+
},
|
1063
|
+
"name": "LintResult",
|
1064
|
+
"exportNode": {
|
1065
|
+
"__schema": "TypeSchema",
|
1066
|
+
"location": {
|
1067
|
+
"filePath": "linter.ts",
|
1068
|
+
"line": 43,
|
1069
|
+
"character": 1
|
1070
|
+
},
|
1071
|
+
"signature": "type LintResult = {\n filePath: string;\n errorCount: number;\n fatalErrorCount?: number | undefined;\n fixableErrorCount?: number | undefined;\n fixableWarningCount?: number | undefined;\n warningCount: number;\n messages: LintMessage[];\n raw: any;\n}",
|
1072
|
+
"name": "LintResult",
|
1073
|
+
"type": {
|
1074
|
+
"__schema": "TypeLiteralSchema",
|
1075
|
+
"location": {
|
1076
|
+
"filePath": "linter.ts",
|
1077
|
+
"line": 43,
|
1078
|
+
"character": 26
|
1079
|
+
},
|
1080
|
+
"members": [
|
1081
|
+
{
|
1082
|
+
"__schema": "VariableLikeSchema",
|
1117
1083
|
"location": {
|
1118
1084
|
"filePath": "linter.ts",
|
1119
|
-
"line":
|
1120
|
-
"character":
|
1085
|
+
"line": 47,
|
1086
|
+
"character": 3
|
1121
1087
|
},
|
1122
|
-
"
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1088
|
+
"doc": {
|
1089
|
+
"__schema": "DocSchema",
|
1090
|
+
"location": {
|
1091
|
+
"filePath": "linter.ts",
|
1092
|
+
"line": 44,
|
1093
|
+
"character": 3
|
1094
|
+
},
|
1095
|
+
"raw": "/**\n * path of the linted file.\n */",
|
1096
|
+
"comment": "path of the linted file."
|
1097
|
+
},
|
1098
|
+
"signature": "(property) filePath: string",
|
1099
|
+
"name": "filePath",
|
1100
|
+
"type": {
|
1101
|
+
"__schema": "KeywordTypeSchema",
|
1102
|
+
"location": {
|
1103
|
+
"filePath": "linter.ts",
|
1104
|
+
"line": 47,
|
1105
|
+
"character": 13
|
1106
|
+
},
|
1107
|
+
"name": "string"
|
1108
|
+
},
|
1109
|
+
"isOptional": false
|
1132
1110
|
},
|
1133
|
-
|
1134
|
-
"__schema": "
|
1111
|
+
{
|
1112
|
+
"__schema": "VariableLikeSchema",
|
1135
1113
|
"location": {
|
1136
1114
|
"filePath": "linter.ts",
|
1137
|
-
"line":
|
1115
|
+
"line": 52,
|
1138
1116
|
"character": 3
|
1139
1117
|
},
|
1140
|
-
"
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
"
|
1149
|
-
"line": 57,
|
1150
|
-
"character": 21
|
1118
|
+
"doc": {
|
1119
|
+
"__schema": "DocSchema",
|
1120
|
+
"location": {
|
1121
|
+
"filePath": "linter.ts",
|
1122
|
+
"line": 49,
|
1123
|
+
"character": 3
|
1124
|
+
},
|
1125
|
+
"raw": "/**\n * numbers of errors found.\n */",
|
1126
|
+
"comment": "numbers of errors found."
|
1151
1127
|
},
|
1152
|
-
"
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1128
|
+
"signature": "(property) errorCount: number",
|
1129
|
+
"name": "errorCount",
|
1130
|
+
"type": {
|
1131
|
+
"__schema": "KeywordTypeSchema",
|
1132
|
+
"location": {
|
1133
|
+
"filePath": "linter.ts",
|
1134
|
+
"line": 52,
|
1135
|
+
"character": 15
|
1136
|
+
},
|
1137
|
+
"name": "number"
|
1138
|
+
},
|
1139
|
+
"isOptional": false
|
1162
1140
|
},
|
1163
|
-
|
1164
|
-
"__schema": "
|
1141
|
+
{
|
1142
|
+
"__schema": "VariableLikeSchema",
|
1165
1143
|
"location": {
|
1166
1144
|
"filePath": "linter.ts",
|
1167
|
-
"line":
|
1145
|
+
"line": 57,
|
1168
1146
|
"character": 3
|
1169
1147
|
},
|
1170
|
-
"
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
"
|
1179
|
-
"line": 62,
|
1180
|
-
"character": 23
|
1148
|
+
"doc": {
|
1149
|
+
"__schema": "DocSchema",
|
1150
|
+
"location": {
|
1151
|
+
"filePath": "linter.ts",
|
1152
|
+
"line": 54,
|
1153
|
+
"character": 3
|
1154
|
+
},
|
1155
|
+
"raw": "/**\n * numbers of errors found.\n */",
|
1156
|
+
"comment": "numbers of errors found."
|
1181
1157
|
},
|
1182
|
-
"
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1158
|
+
"signature": "(property) fatalErrorCount?: number | undefined",
|
1159
|
+
"name": "fatalErrorCount",
|
1160
|
+
"type": {
|
1161
|
+
"__schema": "KeywordTypeSchema",
|
1162
|
+
"location": {
|
1163
|
+
"filePath": "linter.ts",
|
1164
|
+
"line": 57,
|
1165
|
+
"character": 21
|
1166
|
+
},
|
1167
|
+
"name": "number"
|
1168
|
+
},
|
1169
|
+
"isOptional": true
|
1192
1170
|
},
|
1193
|
-
|
1194
|
-
"__schema": "
|
1171
|
+
{
|
1172
|
+
"__schema": "VariableLikeSchema",
|
1195
1173
|
"location": {
|
1196
1174
|
"filePath": "linter.ts",
|
1197
|
-
"line":
|
1175
|
+
"line": 62,
|
1198
1176
|
"character": 3
|
1199
1177
|
},
|
1200
|
-
"
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
"
|
1209
|
-
"line": 67,
|
1210
|
-
"character": 25
|
1178
|
+
"doc": {
|
1179
|
+
"__schema": "DocSchema",
|
1180
|
+
"location": {
|
1181
|
+
"filePath": "linter.ts",
|
1182
|
+
"line": 59,
|
1183
|
+
"character": 3
|
1184
|
+
},
|
1185
|
+
"raw": "/**\n * numbers of fixable errors found.\n */",
|
1186
|
+
"comment": "numbers of fixable errors found."
|
1211
1187
|
},
|
1212
|
-
"
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1188
|
+
"signature": "(property) fixableErrorCount?: number | undefined",
|
1189
|
+
"name": "fixableErrorCount",
|
1190
|
+
"type": {
|
1191
|
+
"__schema": "KeywordTypeSchema",
|
1192
|
+
"location": {
|
1193
|
+
"filePath": "linter.ts",
|
1194
|
+
"line": 62,
|
1195
|
+
"character": 23
|
1196
|
+
},
|
1197
|
+
"name": "number"
|
1198
|
+
},
|
1199
|
+
"isOptional": true
|
1222
1200
|
},
|
1223
|
-
|
1224
|
-
"__schema": "
|
1201
|
+
{
|
1202
|
+
"__schema": "VariableLikeSchema",
|
1225
1203
|
"location": {
|
1226
1204
|
"filePath": "linter.ts",
|
1227
|
-
"line":
|
1205
|
+
"line": 67,
|
1228
1206
|
"character": 3
|
1229
1207
|
},
|
1230
|
-
"
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
"
|
1239
|
-
"line": 72,
|
1240
|
-
"character": 17
|
1208
|
+
"doc": {
|
1209
|
+
"__schema": "DocSchema",
|
1210
|
+
"location": {
|
1211
|
+
"filePath": "linter.ts",
|
1212
|
+
"line": 64,
|
1213
|
+
"character": 3
|
1214
|
+
},
|
1215
|
+
"raw": "/**\n * numbers of fixable warning found.\n */",
|
1216
|
+
"comment": "numbers of fixable warning found."
|
1241
1217
|
},
|
1242
|
-
"
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1218
|
+
"signature": "(property) fixableWarningCount?: number | undefined",
|
1219
|
+
"name": "fixableWarningCount",
|
1220
|
+
"type": {
|
1221
|
+
"__schema": "KeywordTypeSchema",
|
1222
|
+
"location": {
|
1223
|
+
"filePath": "linter.ts",
|
1224
|
+
"line": 67,
|
1225
|
+
"character": 25
|
1226
|
+
},
|
1227
|
+
"name": "number"
|
1228
|
+
},
|
1229
|
+
"isOptional": true
|
1252
1230
|
},
|
1253
|
-
|
1254
|
-
"__schema": "
|
1231
|
+
{
|
1232
|
+
"__schema": "VariableLikeSchema",
|
1255
1233
|
"location": {
|
1256
1234
|
"filePath": "linter.ts",
|
1257
|
-
"line":
|
1235
|
+
"line": 72,
|
1258
1236
|
"character": 3
|
1259
1237
|
},
|
1260
|
-
"
|
1261
|
-
|
1238
|
+
"doc": {
|
1239
|
+
"__schema": "DocSchema",
|
1240
|
+
"location": {
|
1241
|
+
"filePath": "linter.ts",
|
1242
|
+
"line": 69,
|
1243
|
+
"character": 3
|
1244
|
+
},
|
1245
|
+
"raw": "/**\n * number of found warnings.\n */",
|
1246
|
+
"comment": "number of found warnings."
|
1247
|
+
},
|
1248
|
+
"signature": "(property) warningCount: number",
|
1249
|
+
"name": "warningCount",
|
1250
|
+
"type": {
|
1251
|
+
"__schema": "KeywordTypeSchema",
|
1252
|
+
"location": {
|
1253
|
+
"filePath": "linter.ts",
|
1254
|
+
"line": 72,
|
1255
|
+
"character": 17
|
1256
|
+
},
|
1257
|
+
"name": "number"
|
1258
|
+
},
|
1259
|
+
"isOptional": false
|
1262
1260
|
},
|
1263
|
-
|
1264
|
-
|
1265
|
-
"type": {
|
1266
|
-
"__schema": "TypeArraySchema",
|
1261
|
+
{
|
1262
|
+
"__schema": "VariableLikeSchema",
|
1267
1263
|
"location": {
|
1268
1264
|
"filePath": "linter.ts",
|
1269
1265
|
"line": 77,
|
1270
|
-
"character":
|
1266
|
+
"character": 3
|
1271
1267
|
},
|
1268
|
+
"doc": {
|
1269
|
+
"__schema": "DocSchema",
|
1270
|
+
"location": {
|
1271
|
+
"filePath": "linter.ts",
|
1272
|
+
"line": 74,
|
1273
|
+
"character": 3
|
1274
|
+
},
|
1275
|
+
"raw": "/**\n * lint messages.\n */",
|
1276
|
+
"comment": "lint messages."
|
1277
|
+
},
|
1278
|
+
"signature": "(property) messages: LintMessage[]",
|
1279
|
+
"name": "messages",
|
1272
1280
|
"type": {
|
1273
|
-
"__schema": "
|
1281
|
+
"__schema": "TypeArraySchema",
|
1274
1282
|
"location": {
|
1275
1283
|
"filePath": "linter.ts",
|
1276
1284
|
"line": 77,
|
1277
1285
|
"character": 13
|
1278
1286
|
},
|
1279
|
-
"
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
"filePath": "linter.ts",
|
1289
|
-
"line": 82,
|
1290
|
-
"character": 3
|
1291
|
-
},
|
1292
|
-
"doc": {
|
1293
|
-
"__schema": "DocSchema",
|
1294
|
-
"location": {
|
1295
|
-
"filePath": "linter.ts",
|
1296
|
-
"line": 79,
|
1297
|
-
"character": 3
|
1287
|
+
"type": {
|
1288
|
+
"__schema": "TypeRefSchema",
|
1289
|
+
"location": {
|
1290
|
+
"filePath": "linter.ts",
|
1291
|
+
"line": 77,
|
1292
|
+
"character": 13
|
1293
|
+
},
|
1294
|
+
"name": "LintMessage"
|
1295
|
+
}
|
1298
1296
|
},
|
1299
|
-
"
|
1300
|
-
"comment": "Raw data as returned from the linter"
|
1297
|
+
"isOptional": false
|
1301
1298
|
},
|
1302
|
-
|
1303
|
-
|
1304
|
-
"type": {
|
1305
|
-
"__schema": "KeywordTypeSchema",
|
1299
|
+
{
|
1300
|
+
"__schema": "VariableLikeSchema",
|
1306
1301
|
"location": {
|
1307
1302
|
"filePath": "linter.ts",
|
1308
1303
|
"line": 82,
|
1309
|
-
"character":
|
1304
|
+
"character": 3
|
1305
|
+
},
|
1306
|
+
"doc": {
|
1307
|
+
"__schema": "DocSchema",
|
1308
|
+
"location": {
|
1309
|
+
"filePath": "linter.ts",
|
1310
|
+
"line": 79,
|
1311
|
+
"character": 3
|
1312
|
+
},
|
1313
|
+
"raw": "/**\n * Raw data as returned from the linter\n */",
|
1314
|
+
"comment": "Raw data as returned from the linter"
|
1315
|
+
},
|
1316
|
+
"signature": "(property) raw: any",
|
1317
|
+
"name": "raw",
|
1318
|
+
"type": {
|
1319
|
+
"__schema": "KeywordTypeSchema",
|
1320
|
+
"location": {
|
1321
|
+
"filePath": "linter.ts",
|
1322
|
+
"line": 82,
|
1323
|
+
"character": 8
|
1324
|
+
},
|
1325
|
+
"name": "any"
|
1310
1326
|
},
|
1311
|
-
"
|
1312
|
-
}
|
1313
|
-
|
1314
|
-
|
1315
|
-
]
|
1327
|
+
"isOptional": false
|
1328
|
+
}
|
1329
|
+
]
|
1330
|
+
}
|
1316
1331
|
}
|
1317
1332
|
},
|
1318
1333
|
{
|
1319
|
-
"__schema": "
|
1334
|
+
"__schema": "ExportSchema",
|
1320
1335
|
"location": {
|
1321
|
-
"filePath": "
|
1336
|
+
"filePath": "index.ts",
|
1322
1337
|
"line": 5,
|
1323
|
-
"character":
|
1338
|
+
"character": 48
|
1324
1339
|
},
|
1325
|
-
"signature": "type ComponentLintResult = {\n component: Component;\n output: string;\n totalErrorCount: number;\n totalFatalErrorCount?: number | undefined;\n totalFixableErrorCount?: number | undefined;\n totalFixableWarningCount?: number | undefined;\n totalWarningCount: number;\n results: LintResult[];\n}",
|
1326
1340
|
"name": "ComponentLintResult",
|
1327
|
-
"
|
1328
|
-
"__schema": "
|
1341
|
+
"exportNode": {
|
1342
|
+
"__schema": "TypeSchema",
|
1329
1343
|
"location": {
|
1330
1344
|
"filePath": "linter.ts",
|
1331
1345
|
"line": 5,
|
1332
|
-
"character":
|
1346
|
+
"character": 1
|
1333
1347
|
},
|
1334
|
-
"
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
"line": 6,
|
1347
|
-
"character": 3
|
1348
|
-
},
|
1349
|
-
"raw": "/**\n * the linted component.\n */",
|
1350
|
-
"comment": "the linted component."
|
1351
|
-
},
|
1352
|
-
"signature": "(property) component: Component",
|
1353
|
-
"name": "component",
|
1354
|
-
"type": {
|
1355
|
-
"__schema": "TypeRefSchema",
|
1348
|
+
"signature": "type ComponentLintResult = {\n component: Component;\n output: string;\n totalErrorCount: number;\n totalFatalErrorCount?: number | undefined;\n totalFixableErrorCount?: number | undefined;\n totalFixableWarningCount?: number | undefined;\n totalWarningCount: number;\n results: LintResult[];\n}",
|
1349
|
+
"name": "ComponentLintResult",
|
1350
|
+
"type": {
|
1351
|
+
"__schema": "TypeLiteralSchema",
|
1352
|
+
"location": {
|
1353
|
+
"filePath": "linter.ts",
|
1354
|
+
"line": 5,
|
1355
|
+
"character": 35
|
1356
|
+
},
|
1357
|
+
"members": [
|
1358
|
+
{
|
1359
|
+
"__schema": "VariableLikeSchema",
|
1356
1360
|
"location": {
|
1357
1361
|
"filePath": "linter.ts",
|
1358
1362
|
"line": 9,
|
1359
1363
|
"character": 3
|
1360
1364
|
},
|
1361
|
-
"
|
1362
|
-
|
1363
|
-
"
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
"__schema": "VariableLikeSchema",
|
1371
|
-
"location": {
|
1372
|
-
"filePath": "linter.ts",
|
1373
|
-
"line": 14,
|
1374
|
-
"character": 3
|
1375
|
-
},
|
1376
|
-
"doc": {
|
1377
|
-
"__schema": "DocSchema",
|
1378
|
-
"location": {
|
1379
|
-
"filePath": "linter.ts",
|
1380
|
-
"line": 11,
|
1381
|
-
"character": 3
|
1365
|
+
"doc": {
|
1366
|
+
"__schema": "DocSchema",
|
1367
|
+
"location": {
|
1368
|
+
"filePath": "linter.ts",
|
1369
|
+
"line": 6,
|
1370
|
+
"character": 3
|
1371
|
+
},
|
1372
|
+
"raw": "/**\n * the linted component.\n */",
|
1373
|
+
"comment": "the linted component."
|
1382
1374
|
},
|
1383
|
-
"
|
1384
|
-
"
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
"
|
1393
|
-
"
|
1375
|
+
"signature": "(property) component: Component",
|
1376
|
+
"name": "component",
|
1377
|
+
"type": {
|
1378
|
+
"__schema": "TypeRefSchema",
|
1379
|
+
"location": {
|
1380
|
+
"filePath": "linter.ts",
|
1381
|
+
"line": 9,
|
1382
|
+
"character": 3
|
1383
|
+
},
|
1384
|
+
"name": "Component",
|
1385
|
+
"componentId": {
|
1386
|
+
"scope": "teambit.component",
|
1387
|
+
"name": "component"
|
1388
|
+
}
|
1394
1389
|
},
|
1395
|
-
"
|
1396
|
-
},
|
1397
|
-
"isOptional": false
|
1398
|
-
},
|
1399
|
-
{
|
1400
|
-
"__schema": "VariableLikeSchema",
|
1401
|
-
"location": {
|
1402
|
-
"filePath": "linter.ts",
|
1403
|
-
"line": 19,
|
1404
|
-
"character": 3
|
1390
|
+
"isOptional": false
|
1405
1391
|
},
|
1406
|
-
|
1407
|
-
"__schema": "
|
1392
|
+
{
|
1393
|
+
"__schema": "VariableLikeSchema",
|
1408
1394
|
"location": {
|
1409
1395
|
"filePath": "linter.ts",
|
1410
|
-
"line":
|
1396
|
+
"line": 14,
|
1411
1397
|
"character": 3
|
1412
1398
|
},
|
1413
|
-
"
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
"
|
1422
|
-
"line": 19,
|
1423
|
-
"character": 20
|
1399
|
+
"doc": {
|
1400
|
+
"__schema": "DocSchema",
|
1401
|
+
"location": {
|
1402
|
+
"filePath": "linter.ts",
|
1403
|
+
"line": 11,
|
1404
|
+
"character": 3
|
1405
|
+
},
|
1406
|
+
"raw": "/**\n * CLI output of the linter.\n */",
|
1407
|
+
"comment": "CLI output of the linter."
|
1424
1408
|
},
|
1425
|
-
"
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1409
|
+
"signature": "(property) output: string",
|
1410
|
+
"name": "output",
|
1411
|
+
"type": {
|
1412
|
+
"__schema": "KeywordTypeSchema",
|
1413
|
+
"location": {
|
1414
|
+
"filePath": "linter.ts",
|
1415
|
+
"line": 14,
|
1416
|
+
"character": 11
|
1417
|
+
},
|
1418
|
+
"name": "string"
|
1419
|
+
},
|
1420
|
+
"isOptional": false
|
1435
1421
|
},
|
1436
|
-
|
1437
|
-
"__schema": "
|
1422
|
+
{
|
1423
|
+
"__schema": "VariableLikeSchema",
|
1438
1424
|
"location": {
|
1439
1425
|
"filePath": "linter.ts",
|
1440
|
-
"line":
|
1426
|
+
"line": 19,
|
1441
1427
|
"character": 3
|
1442
1428
|
},
|
1443
|
-
"
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
"
|
1452
|
-
"line": 23,
|
1453
|
-
"character": 26
|
1429
|
+
"doc": {
|
1430
|
+
"__schema": "DocSchema",
|
1431
|
+
"location": {
|
1432
|
+
"filePath": "linter.ts",
|
1433
|
+
"line": 16,
|
1434
|
+
"character": 3
|
1435
|
+
},
|
1436
|
+
"raw": "/**\n * total errors count of the component (from all of the files).\n */",
|
1437
|
+
"comment": "total errors count of the component (from all of the files)."
|
1454
1438
|
},
|
1455
|
-
"
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1439
|
+
"signature": "(property) totalErrorCount: number",
|
1440
|
+
"name": "totalErrorCount",
|
1441
|
+
"type": {
|
1442
|
+
"__schema": "KeywordTypeSchema",
|
1443
|
+
"location": {
|
1444
|
+
"filePath": "linter.ts",
|
1445
|
+
"line": 19,
|
1446
|
+
"character": 20
|
1447
|
+
},
|
1448
|
+
"name": "number"
|
1449
|
+
},
|
1450
|
+
"isOptional": false
|
1465
1451
|
},
|
1466
|
-
|
1467
|
-
"__schema": "
|
1452
|
+
{
|
1453
|
+
"__schema": "VariableLikeSchema",
|
1468
1454
|
"location": {
|
1469
1455
|
"filePath": "linter.ts",
|
1470
|
-
"line":
|
1456
|
+
"line": 23,
|
1471
1457
|
"character": 3
|
1472
1458
|
},
|
1473
|
-
"
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
"
|
1482
|
-
"line": 27,
|
1483
|
-
"character": 28
|
1459
|
+
"doc": {
|
1460
|
+
"__schema": "DocSchema",
|
1461
|
+
"location": {
|
1462
|
+
"filePath": "linter.ts",
|
1463
|
+
"line": 20,
|
1464
|
+
"character": 3
|
1465
|
+
},
|
1466
|
+
"raw": "/**\n * total fatal errors count of the component (from all of the files).\n */",
|
1467
|
+
"comment": "total fatal errors count of the component (from all of the files)."
|
1484
1468
|
},
|
1485
|
-
"
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1469
|
+
"signature": "(property) totalFatalErrorCount?: number | undefined",
|
1470
|
+
"name": "totalFatalErrorCount",
|
1471
|
+
"type": {
|
1472
|
+
"__schema": "KeywordTypeSchema",
|
1473
|
+
"location": {
|
1474
|
+
"filePath": "linter.ts",
|
1475
|
+
"line": 23,
|
1476
|
+
"character": 26
|
1477
|
+
},
|
1478
|
+
"name": "number"
|
1479
|
+
},
|
1480
|
+
"isOptional": true
|
1495
1481
|
},
|
1496
|
-
|
1497
|
-
"__schema": "
|
1482
|
+
{
|
1483
|
+
"__schema": "VariableLikeSchema",
|
1498
1484
|
"location": {
|
1499
1485
|
"filePath": "linter.ts",
|
1500
|
-
"line":
|
1486
|
+
"line": 27,
|
1501
1487
|
"character": 3
|
1502
1488
|
},
|
1503
|
-
"
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
"
|
1512
|
-
"line": 31,
|
1513
|
-
"character": 30
|
1489
|
+
"doc": {
|
1490
|
+
"__schema": "DocSchema",
|
1491
|
+
"location": {
|
1492
|
+
"filePath": "linter.ts",
|
1493
|
+
"line": 24,
|
1494
|
+
"character": 3
|
1495
|
+
},
|
1496
|
+
"raw": "/**\n * total fixable errors count of the component (from all of the files).\n */",
|
1497
|
+
"comment": "total fixable errors count of the component (from all of the files)."
|
1514
1498
|
},
|
1515
|
-
"
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1499
|
+
"signature": "(property) totalFixableErrorCount?: number | undefined",
|
1500
|
+
"name": "totalFixableErrorCount",
|
1501
|
+
"type": {
|
1502
|
+
"__schema": "KeywordTypeSchema",
|
1503
|
+
"location": {
|
1504
|
+
"filePath": "linter.ts",
|
1505
|
+
"line": 27,
|
1506
|
+
"character": 28
|
1507
|
+
},
|
1508
|
+
"name": "number"
|
1509
|
+
},
|
1510
|
+
"isOptional": true
|
1525
1511
|
},
|
1526
|
-
|
1527
|
-
"__schema": "
|
1512
|
+
{
|
1513
|
+
"__schema": "VariableLikeSchema",
|
1528
1514
|
"location": {
|
1529
1515
|
"filePath": "linter.ts",
|
1530
|
-
"line":
|
1516
|
+
"line": 31,
|
1531
1517
|
"character": 3
|
1532
1518
|
},
|
1533
|
-
"
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
"
|
1542
|
-
"line": 35,
|
1543
|
-
"character": 22
|
1519
|
+
"doc": {
|
1520
|
+
"__schema": "DocSchema",
|
1521
|
+
"location": {
|
1522
|
+
"filePath": "linter.ts",
|
1523
|
+
"line": 28,
|
1524
|
+
"character": 3
|
1525
|
+
},
|
1526
|
+
"raw": "/**\n * total fatal warning count of the component (from all of the files).\n */",
|
1527
|
+
"comment": "total fatal warning count of the component (from all of the files)."
|
1544
1528
|
},
|
1545
|
-
"
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1529
|
+
"signature": "(property) totalFixableWarningCount?: number | undefined",
|
1530
|
+
"name": "totalFixableWarningCount",
|
1531
|
+
"type": {
|
1532
|
+
"__schema": "KeywordTypeSchema",
|
1533
|
+
"location": {
|
1534
|
+
"filePath": "linter.ts",
|
1535
|
+
"line": 31,
|
1536
|
+
"character": 30
|
1537
|
+
},
|
1538
|
+
"name": "number"
|
1539
|
+
},
|
1540
|
+
"isOptional": true
|
1555
1541
|
},
|
1556
|
-
|
1557
|
-
"__schema": "
|
1542
|
+
{
|
1543
|
+
"__schema": "VariableLikeSchema",
|
1558
1544
|
"location": {
|
1559
1545
|
"filePath": "linter.ts",
|
1560
|
-
"line":
|
1546
|
+
"line": 35,
|
1561
1547
|
"character": 3
|
1562
1548
|
},
|
1563
|
-
"
|
1564
|
-
|
1549
|
+
"doc": {
|
1550
|
+
"__schema": "DocSchema",
|
1551
|
+
"location": {
|
1552
|
+
"filePath": "linter.ts",
|
1553
|
+
"line": 32,
|
1554
|
+
"character": 3
|
1555
|
+
},
|
1556
|
+
"raw": "/**\n * total warning count of the component (from all of the files).\n */",
|
1557
|
+
"comment": "total warning count of the component (from all of the files)."
|
1558
|
+
},
|
1559
|
+
"signature": "(property) totalWarningCount: number",
|
1560
|
+
"name": "totalWarningCount",
|
1561
|
+
"type": {
|
1562
|
+
"__schema": "KeywordTypeSchema",
|
1563
|
+
"location": {
|
1564
|
+
"filePath": "linter.ts",
|
1565
|
+
"line": 35,
|
1566
|
+
"character": 22
|
1567
|
+
},
|
1568
|
+
"name": "number"
|
1569
|
+
},
|
1570
|
+
"isOptional": false
|
1565
1571
|
},
|
1566
|
-
|
1567
|
-
|
1568
|
-
"type": {
|
1569
|
-
"__schema": "TypeArraySchema",
|
1572
|
+
{
|
1573
|
+
"__schema": "VariableLikeSchema",
|
1570
1574
|
"location": {
|
1571
1575
|
"filePath": "linter.ts",
|
1572
1576
|
"line": 40,
|
1573
|
-
"character":
|
1577
|
+
"character": 3
|
1578
|
+
},
|
1579
|
+
"doc": {
|
1580
|
+
"__schema": "DocSchema",
|
1581
|
+
"location": {
|
1582
|
+
"filePath": "linter.ts",
|
1583
|
+
"line": 37,
|
1584
|
+
"character": 3
|
1585
|
+
},
|
1586
|
+
"raw": "/**\n * lint results for each one of the component files\n */",
|
1587
|
+
"comment": "lint results for each one of the component files"
|
1574
1588
|
},
|
1589
|
+
"signature": "(property) results: LintResult[]",
|
1590
|
+
"name": "results",
|
1575
1591
|
"type": {
|
1576
|
-
"__schema": "
|
1592
|
+
"__schema": "TypeArraySchema",
|
1577
1593
|
"location": {
|
1578
1594
|
"filePath": "linter.ts",
|
1579
1595
|
"line": 40,
|
1580
1596
|
"character": 12
|
1581
1597
|
},
|
1582
|
-
"
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1598
|
+
"type": {
|
1599
|
+
"__schema": "TypeRefSchema",
|
1600
|
+
"location": {
|
1601
|
+
"filePath": "linter.ts",
|
1602
|
+
"line": 40,
|
1603
|
+
"character": 12
|
1604
|
+
},
|
1605
|
+
"name": "LintResult"
|
1606
|
+
}
|
1607
|
+
},
|
1608
|
+
"isOptional": false
|
1609
|
+
}
|
1610
|
+
]
|
1611
|
+
}
|
1588
1612
|
}
|
1589
1613
|
},
|
1590
1614
|
{
|
1591
|
-
"__schema": "
|
1615
|
+
"__schema": "ExportSchema",
|
1592
1616
|
"location": {
|
1593
|
-
"filePath": "
|
1594
|
-
"line":
|
1595
|
-
"character":
|
1617
|
+
"filePath": "index.ts",
|
1618
|
+
"line": 6,
|
1619
|
+
"character": 15
|
1596
1620
|
},
|
1597
|
-
"signature": "class LintTask",
|
1598
1621
|
"name": "LintTask",
|
1599
|
-
"
|
1600
|
-
|
1601
|
-
|
1602
|
-
"
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
"
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1622
|
+
"exportNode": {
|
1623
|
+
"__schema": "ClassSchema",
|
1624
|
+
"location": {
|
1625
|
+
"filePath": "lint.task.ts",
|
1626
|
+
"line": 8,
|
1627
|
+
"character": 1
|
1628
|
+
},
|
1629
|
+
"signature": "class LintTask",
|
1630
|
+
"name": "LintTask",
|
1631
|
+
"members": [
|
1632
|
+
{
|
1633
|
+
"__schema": "ConstructorSchema",
|
1634
|
+
"location": {
|
1635
|
+
"filePath": "lint.task.ts",
|
1636
|
+
"line": 9,
|
1637
|
+
"character": 3
|
1638
|
+
},
|
1639
|
+
"signature": "constructor LintTask(aspectId: string, name?: string): LintTask",
|
1640
|
+
"name": "constructor",
|
1641
|
+
"params": [
|
1642
|
+
{
|
1643
|
+
"__schema": "ParameterSchema",
|
1620
1644
|
"location": {
|
1621
1645
|
"filePath": "lint.task.ts",
|
1622
1646
|
"line": 9,
|
1623
|
-
"character":
|
1647
|
+
"character": 15
|
1624
1648
|
},
|
1625
|
-
"name": "
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
"
|
1649
|
+
"name": "aspectId",
|
1650
|
+
"type": {
|
1651
|
+
"__schema": "KeywordTypeSchema",
|
1652
|
+
"location": {
|
1653
|
+
"filePath": "lint.task.ts",
|
1654
|
+
"line": 9,
|
1655
|
+
"character": 34
|
1656
|
+
},
|
1657
|
+
"name": "string"
|
1658
|
+
},
|
1659
|
+
"isOptional": false,
|
1660
|
+
"isSpread": false
|
1636
1661
|
},
|
1637
|
-
|
1638
|
-
|
1639
|
-
"__schema": "InferenceTypeSchema",
|
1662
|
+
{
|
1663
|
+
"__schema": "ParameterSchema",
|
1640
1664
|
"location": {
|
1641
1665
|
"filePath": "lint.task.ts",
|
1642
1666
|
"line": 9,
|
1643
1667
|
"character": 42
|
1644
1668
|
},
|
1645
|
-
"
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
},
|
1663
|
-
{
|
1664
|
-
"__schema": "FunctionLikeSchema",
|
1665
|
-
"location": {
|
1666
|
-
"filePath": "lint.task.ts",
|
1667
|
-
"line": 11,
|
1668
|
-
"character": 3
|
1669
|
-
},
|
1670
|
-
"signature": "(method) LintTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
|
1671
|
-
"name": "execute",
|
1672
|
-
"params": [
|
1673
|
-
{
|
1674
|
-
"__schema": "ParameterSchema",
|
1669
|
+
"name": "name",
|
1670
|
+
"type": {
|
1671
|
+
"__schema": "InferenceTypeSchema",
|
1672
|
+
"location": {
|
1673
|
+
"filePath": "lint.task.ts",
|
1674
|
+
"line": 9,
|
1675
|
+
"character": 42
|
1676
|
+
},
|
1677
|
+
"type": "string"
|
1678
|
+
},
|
1679
|
+
"isOptional": true,
|
1680
|
+
"defaultValue": "'lint'",
|
1681
|
+
"isSpread": false
|
1682
|
+
}
|
1683
|
+
],
|
1684
|
+
"returnType": {
|
1685
|
+
"__schema": "ThisTypeSchema",
|
1675
1686
|
"location": {
|
1676
1687
|
"filePath": "lint.task.ts",
|
1677
|
-
"line":
|
1678
|
-
"character":
|
1679
|
-
},
|
1680
|
-
"name": "context",
|
1681
|
-
"type": {
|
1682
|
-
"__schema": "TypeRefSchema",
|
1683
|
-
"location": {
|
1684
|
-
"filePath": "lint.task.ts",
|
1685
|
-
"line": 11,
|
1686
|
-
"character": 26
|
1687
|
-
},
|
1688
|
-
"name": "BuildContext",
|
1689
|
-
"componentId": {
|
1690
|
-
"scope": "teambit.pipelines",
|
1691
|
-
"name": "builder"
|
1692
|
-
}
|
1688
|
+
"line": 8,
|
1689
|
+
"character": 1
|
1693
1690
|
},
|
1694
|
-
"
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
"__schema": "
|
1691
|
+
"name": "LintTask"
|
1692
|
+
},
|
1693
|
+
"modifiers": []
|
1694
|
+
},
|
1695
|
+
{
|
1696
|
+
"__schema": "FunctionLikeSchema",
|
1700
1697
|
"location": {
|
1701
1698
|
"filePath": "lint.task.ts",
|
1702
1699
|
"line": 11,
|
1703
|
-
"character":
|
1700
|
+
"character": 3
|
1704
1701
|
},
|
1705
|
-
"
|
1706
|
-
"
|
1702
|
+
"signature": "(method) LintTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
|
1703
|
+
"name": "execute",
|
1704
|
+
"params": [
|
1707
1705
|
{
|
1708
|
-
"__schema": "
|
1706
|
+
"__schema": "ParameterSchema",
|
1709
1707
|
"location": {
|
1710
1708
|
"filePath": "lint.task.ts",
|
1711
1709
|
"line": 11,
|
1712
|
-
"character":
|
1710
|
+
"character": 17
|
1713
1711
|
},
|
1714
|
-
"name": "
|
1715
|
-
"
|
1716
|
-
"
|
1717
|
-
"
|
1718
|
-
|
1712
|
+
"name": "context",
|
1713
|
+
"type": {
|
1714
|
+
"__schema": "TypeRefSchema",
|
1715
|
+
"location": {
|
1716
|
+
"filePath": "lint.task.ts",
|
1717
|
+
"line": 11,
|
1718
|
+
"character": 26
|
1719
|
+
},
|
1720
|
+
"name": "BuildContext"
|
1721
|
+
},
|
1722
|
+
"isOptional": false,
|
1723
|
+
"isSpread": false
|
1719
1724
|
}
|
1725
|
+
],
|
1726
|
+
"returnType": {
|
1727
|
+
"__schema": "TypeRefSchema",
|
1728
|
+
"location": {
|
1729
|
+
"filePath": "lint.task.ts",
|
1730
|
+
"line": 11,
|
1731
|
+
"character": 41
|
1732
|
+
},
|
1733
|
+
"name": "Promise",
|
1734
|
+
"typeArgs": [
|
1735
|
+
{
|
1736
|
+
"__schema": "TypeRefSchema",
|
1737
|
+
"location": {
|
1738
|
+
"filePath": "lint.task.ts",
|
1739
|
+
"line": 11,
|
1740
|
+
"character": 49
|
1741
|
+
},
|
1742
|
+
"name": "BuiltTaskResult"
|
1743
|
+
}
|
1744
|
+
]
|
1745
|
+
},
|
1746
|
+
"modifiers": [
|
1747
|
+
"async"
|
1720
1748
|
]
|
1721
|
-
}
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
"extendsNodes": [],
|
1728
|
-
"implementNodes": [
|
1729
|
-
{
|
1730
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1731
|
-
"location": {
|
1732
|
-
"filePath": "lint.task.ts",
|
1733
|
-
"line": 8,
|
1734
|
-
"character": 34
|
1735
|
-
},
|
1736
|
-
"name": "implements BuildTask",
|
1737
|
-
"typeArgs": [],
|
1738
|
-
"expression": {
|
1739
|
-
"__schema": "TypeRefSchema",
|
1749
|
+
}
|
1750
|
+
],
|
1751
|
+
"extendsNodes": [],
|
1752
|
+
"implementNodes": [
|
1753
|
+
{
|
1754
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1740
1755
|
"location": {
|
1741
1756
|
"filePath": "lint.task.ts",
|
1742
1757
|
"line": 8,
|
1743
1758
|
"character": 34
|
1744
1759
|
},
|
1745
|
-
"name": "BuildTask",
|
1746
|
-
"
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
"
|
1760
|
+
"name": "implements BuildTask",
|
1761
|
+
"typeArgs": [],
|
1762
|
+
"expression": {
|
1763
|
+
"__schema": "TypeRefSchema",
|
1764
|
+
"location": {
|
1765
|
+
"filePath": "lint.task.ts",
|
1766
|
+
"line": 8,
|
1767
|
+
"character": 34
|
1751
1768
|
},
|
1752
|
-
"
|
1769
|
+
"name": "BuildTask",
|
1770
|
+
"componentId": {
|
1771
|
+
"_legacy": {
|
1772
|
+
"scope": "teambit.defender",
|
1773
|
+
"name": "linter",
|
1774
|
+
"version": "1.0.258"
|
1775
|
+
},
|
1776
|
+
"_scope": "teambit.defender"
|
1777
|
+
}
|
1753
1778
|
}
|
1754
1779
|
}
|
1755
|
-
|
1756
|
-
|
1780
|
+
]
|
1781
|
+
}
|
1757
1782
|
},
|
1758
1783
|
{
|
1759
|
-
"__schema": "
|
1784
|
+
"__schema": "ExportSchema",
|
1760
1785
|
"location": {
|
1761
|
-
"filePath": "
|
1762
|
-
"line":
|
1763
|
-
"character":
|
1786
|
+
"filePath": "index.ts",
|
1787
|
+
"line": 7,
|
1788
|
+
"character": 15
|
1764
1789
|
},
|
1765
|
-
"signature": "interface LinterContext",
|
1766
1790
|
"name": "LinterContext",
|
1767
|
-
"
|
1768
|
-
|
1769
|
-
|
1770
|
-
"
|
1771
|
-
|
1772
|
-
|
1773
|
-
"character": 3
|
1774
|
-
},
|
1775
|
-
"signature": "(property) LinterContext.quiet?: boolean | undefined",
|
1776
|
-
"name": "quiet",
|
1777
|
-
"type": {
|
1778
|
-
"__schema": "KeywordTypeSchema",
|
1779
|
-
"location": {
|
1780
|
-
"filePath": "linter-context.ts",
|
1781
|
-
"line": 24,
|
1782
|
-
"character": 11
|
1783
|
-
},
|
1784
|
-
"name": "boolean"
|
1785
|
-
},
|
1786
|
-
"isOptional": true
|
1791
|
+
"exportNode": {
|
1792
|
+
"__schema": "InterfaceSchema",
|
1793
|
+
"location": {
|
1794
|
+
"filePath": "linter-context.ts",
|
1795
|
+
"line": 23,
|
1796
|
+
"character": 1
|
1787
1797
|
},
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
"
|
1793
|
-
"character": 3
|
1794
|
-
},
|
1795
|
-
"doc": {
|
1796
|
-
"__schema": "DocSchema",
|
1798
|
+
"signature": "interface LinterContext",
|
1799
|
+
"name": "LinterContext",
|
1800
|
+
"members": [
|
1801
|
+
{
|
1802
|
+
"__schema": "VariableLikeSchema",
|
1797
1803
|
"location": {
|
1798
1804
|
"filePath": "linter-context.ts",
|
1799
|
-
"line":
|
1805
|
+
"line": 24,
|
1800
1806
|
"character": 3
|
1801
1807
|
},
|
1802
|
-
"
|
1803
|
-
"
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1811
|
-
"
|
1812
|
-
"character": 13
|
1808
|
+
"signature": "(property) LinterContext.quiet?: boolean | undefined",
|
1809
|
+
"name": "quiet",
|
1810
|
+
"type": {
|
1811
|
+
"__schema": "KeywordTypeSchema",
|
1812
|
+
"location": {
|
1813
|
+
"filePath": "linter-context.ts",
|
1814
|
+
"line": 24,
|
1815
|
+
"character": 11
|
1816
|
+
},
|
1817
|
+
"name": "boolean"
|
1813
1818
|
},
|
1814
|
-
"
|
1815
|
-
},
|
1816
|
-
"isOptional": true
|
1817
|
-
},
|
1818
|
-
{
|
1819
|
-
"__schema": "VariableLikeSchema",
|
1820
|
-
"location": {
|
1821
|
-
"filePath": "linter-context.ts",
|
1822
|
-
"line": 34,
|
1823
|
-
"character": 3
|
1819
|
+
"isOptional": true
|
1824
1820
|
},
|
1825
|
-
|
1826
|
-
"__schema": "
|
1821
|
+
{
|
1822
|
+
"__schema": "VariableLikeSchema",
|
1827
1823
|
"location": {
|
1828
1824
|
"filePath": "linter-context.ts",
|
1829
|
-
"line":
|
1825
|
+
"line": 29,
|
1830
1826
|
"character": 3
|
1831
1827
|
},
|
1832
|
-
"
|
1833
|
-
|
1828
|
+
"doc": {
|
1829
|
+
"__schema": "DocSchema",
|
1830
|
+
"location": {
|
1831
|
+
"filePath": "linter-context.ts",
|
1832
|
+
"line": 25,
|
1833
|
+
"character": 3
|
1834
|
+
},
|
1835
|
+
"raw": "/**\n * Root dir that contains all the components in the fs that are about to be linted\n * Usually it's the workspace root dir or the capsule root dir\n */",
|
1836
|
+
"comment": "Root dir that contains all the components in the fs that are about to be linted\nUsually it's the workspace root dir or the capsule root dir"
|
1837
|
+
},
|
1838
|
+
"signature": "(property) LinterContext.rootDir?: string | undefined",
|
1839
|
+
"name": "rootDir",
|
1840
|
+
"type": {
|
1841
|
+
"__schema": "KeywordTypeSchema",
|
1842
|
+
"location": {
|
1843
|
+
"filePath": "linter-context.ts",
|
1844
|
+
"line": 29,
|
1845
|
+
"character": 13
|
1846
|
+
},
|
1847
|
+
"name": "string"
|
1848
|
+
},
|
1849
|
+
"isOptional": true
|
1834
1850
|
},
|
1835
|
-
|
1836
|
-
|
1837
|
-
"type": {
|
1838
|
-
"__schema": "TypeRefSchema",
|
1851
|
+
{
|
1852
|
+
"__schema": "VariableLikeSchema",
|
1839
1853
|
"location": {
|
1840
1854
|
"filePath": "linter-context.ts",
|
1841
1855
|
"line": 34,
|
1842
|
-
"character":
|
1856
|
+
"character": 3
|
1843
1857
|
},
|
1844
|
-
"
|
1845
|
-
|
1846
|
-
"
|
1847
|
-
|
1858
|
+
"doc": {
|
1859
|
+
"__schema": "DocSchema",
|
1860
|
+
"location": {
|
1861
|
+
"filePath": "linter-context.ts",
|
1862
|
+
"line": 31,
|
1863
|
+
"character": 3
|
1864
|
+
},
|
1865
|
+
"raw": "/**\n * Component map with the path to the component in the fs\n */",
|
1866
|
+
"comment": "Component map with the path to the component in the fs"
|
1848
1867
|
},
|
1849
|
-
"
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1868
|
+
"signature": "(property) LinterContext.componentsDirMap: ComponentMap<string>",
|
1869
|
+
"name": "componentsDirMap",
|
1870
|
+
"type": {
|
1871
|
+
"__schema": "TypeRefSchema",
|
1872
|
+
"location": {
|
1873
|
+
"filePath": "linter-context.ts",
|
1874
|
+
"line": 34,
|
1875
|
+
"character": 21
|
1876
|
+
},
|
1877
|
+
"name": "ComponentMap",
|
1878
|
+
"typeArgs": [
|
1879
|
+
{
|
1880
|
+
"__schema": "KeywordTypeSchema",
|
1881
|
+
"location": {
|
1882
|
+
"filePath": "linter-context.ts",
|
1883
|
+
"line": 34,
|
1884
|
+
"character": 34
|
1885
|
+
},
|
1886
|
+
"name": "string"
|
1887
|
+
}
|
1888
|
+
]
|
1889
|
+
},
|
1890
|
+
"isOptional": false
|
1891
|
+
}
|
1892
|
+
],
|
1893
|
+
"extendsNodes": [
|
1894
|
+
{
|
1895
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1876
1896
|
"location": {
|
1877
1897
|
"filePath": "linter-context.ts",
|
1878
1898
|
"line": 23,
|
1879
1899
|
"character": 40
|
1880
1900
|
},
|
1881
|
-
"name": "ExecutionContext",
|
1882
|
-
"
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
"
|
1901
|
+
"name": "extends ExecutionContext, LinterOptions",
|
1902
|
+
"typeArgs": [],
|
1903
|
+
"expression": {
|
1904
|
+
"__schema": "TypeRefSchema",
|
1905
|
+
"location": {
|
1906
|
+
"filePath": "linter-context.ts",
|
1907
|
+
"line": 23,
|
1908
|
+
"character": 40
|
1887
1909
|
},
|
1888
|
-
"
|
1910
|
+
"name": "ExecutionContext",
|
1911
|
+
"componentId": {
|
1912
|
+
"_legacy": {
|
1913
|
+
"scope": "teambit.defender",
|
1914
|
+
"name": "linter",
|
1915
|
+
"version": "1.0.258"
|
1916
|
+
},
|
1917
|
+
"_scope": "teambit.defender"
|
1918
|
+
}
|
1889
1919
|
}
|
1890
|
-
}
|
1891
|
-
},
|
1892
|
-
{
|
1893
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1894
|
-
"location": {
|
1895
|
-
"filePath": "linter-context.ts",
|
1896
|
-
"line": 23,
|
1897
|
-
"character": 58
|
1898
1920
|
},
|
1899
|
-
|
1900
|
-
|
1901
|
-
"expression": {
|
1902
|
-
"__schema": "InterfaceSchema",
|
1921
|
+
{
|
1922
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
1903
1923
|
"location": {
|
1904
1924
|
"filePath": "linter-context.ts",
|
1905
|
-
"line":
|
1906
|
-
"character":
|
1925
|
+
"line": 23,
|
1926
|
+
"character": 58
|
1907
1927
|
},
|
1908
|
-
"name": "LinterOptions",
|
1909
|
-
"
|
1910
|
-
"
|
1911
|
-
|
1912
|
-
{
|
1913
|
-
"
|
1914
|
-
"
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
"__schema": "TypeArraySchema",
|
1928
|
+
"name": "extends ExecutionContext, LinterOptions",
|
1929
|
+
"typeArgs": [],
|
1930
|
+
"expression": {
|
1931
|
+
"__schema": "InterfaceSchema",
|
1932
|
+
"location": {
|
1933
|
+
"filePath": "linter-context.ts",
|
1934
|
+
"line": 7,
|
1935
|
+
"character": 1
|
1936
|
+
},
|
1937
|
+
"name": "LinterOptions",
|
1938
|
+
"signature": "interface LinterOptions",
|
1939
|
+
"extendsNodes": [],
|
1940
|
+
"members": [
|
1941
|
+
{
|
1942
|
+
"__schema": "VariableLikeSchema",
|
1924
1943
|
"location": {
|
1925
1944
|
"filePath": "linter-context.ts",
|
1926
1945
|
"line": 11,
|
1927
|
-
"character":
|
1946
|
+
"character": 3
|
1928
1947
|
},
|
1948
|
+
"name": "extensionFormats",
|
1949
|
+
"signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
|
1950
|
+
"isOptional": true,
|
1929
1951
|
"type": {
|
1930
|
-
"__schema": "
|
1952
|
+
"__schema": "TypeArraySchema",
|
1931
1953
|
"location": {
|
1932
1954
|
"filePath": "linter-context.ts",
|
1933
1955
|
"line": 11,
|
1934
1956
|
"character": 22
|
1935
1957
|
},
|
1936
|
-
"
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
},
|
1946
|
-
"raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
|
1947
|
-
"comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
|
1948
|
-
}
|
1949
|
-
},
|
1950
|
-
{
|
1951
|
-
"__schema": "VariableLikeSchema",
|
1952
|
-
"location": {
|
1953
|
-
"filePath": "linter-context.ts",
|
1954
|
-
"line": 16,
|
1955
|
-
"character": 3
|
1956
|
-
},
|
1957
|
-
"name": "fix",
|
1958
|
-
"signature": "(property) LinterOptions.fix?: boolean | undefined",
|
1959
|
-
"isOptional": true,
|
1960
|
-
"type": {
|
1961
|
-
"__schema": "KeywordTypeSchema",
|
1962
|
-
"location": {
|
1963
|
-
"filePath": "linter-context.ts",
|
1964
|
-
"line": 16,
|
1965
|
-
"character": 9
|
1966
|
-
},
|
1967
|
-
"name": "boolean"
|
1968
|
-
},
|
1969
|
-
"doc": {
|
1970
|
-
"__schema": "DocSchema",
|
1971
|
-
"location": {
|
1972
|
-
"filePath": "linter-context.ts",
|
1973
|
-
"line": 13,
|
1974
|
-
"character": 3
|
1958
|
+
"type": {
|
1959
|
+
"__schema": "KeywordTypeSchema",
|
1960
|
+
"location": {
|
1961
|
+
"filePath": "linter-context.ts",
|
1962
|
+
"line": 11,
|
1963
|
+
"character": 22
|
1964
|
+
},
|
1965
|
+
"name": "string"
|
1966
|
+
}
|
1975
1967
|
},
|
1976
|
-
"
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1968
|
+
"doc": {
|
1969
|
+
"__schema": "DocSchema",
|
1970
|
+
"location": {
|
1971
|
+
"filePath": "linter-context.ts",
|
1972
|
+
"line": 8,
|
1973
|
+
"character": 3
|
1974
|
+
},
|
1975
|
+
"raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
|
1976
|
+
"comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
|
1977
|
+
}
|
1986
1978
|
},
|
1987
|
-
|
1988
|
-
|
1989
|
-
"isOptional": true,
|
1990
|
-
"type": {
|
1991
|
-
"__schema": "TypeRefSchema",
|
1979
|
+
{
|
1980
|
+
"__schema": "VariableLikeSchema",
|
1992
1981
|
"location": {
|
1993
1982
|
"filePath": "linter-context.ts",
|
1994
|
-
"line":
|
1995
|
-
"character":
|
1983
|
+
"line": 16,
|
1984
|
+
"character": 3
|
1985
|
+
},
|
1986
|
+
"name": "fix",
|
1987
|
+
"signature": "(property) LinterOptions.fix?: boolean | undefined",
|
1988
|
+
"isOptional": true,
|
1989
|
+
"type": {
|
1990
|
+
"__schema": "KeywordTypeSchema",
|
1991
|
+
"location": {
|
1992
|
+
"filePath": "linter-context.ts",
|
1993
|
+
"line": 16,
|
1994
|
+
"character": 9
|
1995
|
+
},
|
1996
|
+
"name": "boolean"
|
1996
1997
|
},
|
1997
|
-
"
|
1998
|
-
|
1998
|
+
"doc": {
|
1999
|
+
"__schema": "DocSchema",
|
2000
|
+
"location": {
|
2001
|
+
"filePath": "linter-context.ts",
|
2002
|
+
"line": 13,
|
2003
|
+
"character": 3
|
2004
|
+
},
|
2005
|
+
"raw": "/**\n * automatically fix problems\n */",
|
2006
|
+
"comment": "automatically fix problems"
|
2007
|
+
}
|
1999
2008
|
},
|
2000
|
-
|
2001
|
-
"__schema": "
|
2009
|
+
{
|
2010
|
+
"__schema": "VariableLikeSchema",
|
2002
2011
|
"location": {
|
2003
2012
|
"filePath": "linter-context.ts",
|
2004
|
-
"line":
|
2013
|
+
"line": 21,
|
2005
2014
|
"character": 3
|
2006
2015
|
},
|
2007
|
-
"
|
2008
|
-
"
|
2016
|
+
"name": "fixTypes",
|
2017
|
+
"signature": "(property) LinterOptions.fixTypes?: FixTypes | undefined",
|
2018
|
+
"isOptional": true,
|
2019
|
+
"type": {
|
2020
|
+
"__schema": "TypeRefSchema",
|
2021
|
+
"location": {
|
2022
|
+
"filePath": "linter-context.ts",
|
2023
|
+
"line": 21,
|
2024
|
+
"character": 14
|
2025
|
+
},
|
2026
|
+
"name": "FixTypes"
|
2027
|
+
},
|
2028
|
+
"doc": {
|
2029
|
+
"__schema": "DocSchema",
|
2030
|
+
"location": {
|
2031
|
+
"filePath": "linter-context.ts",
|
2032
|
+
"line": 18,
|
2033
|
+
"character": 3
|
2034
|
+
},
|
2035
|
+
"raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
|
2036
|
+
"comment": "specify the types of fixes to apply (problem, suggestion, layout)"
|
2037
|
+
}
|
2009
2038
|
}
|
2010
|
-
|
2011
|
-
|
2039
|
+
]
|
2040
|
+
}
|
2012
2041
|
}
|
2013
|
-
|
2014
|
-
|
2042
|
+
]
|
2043
|
+
}
|
2015
2044
|
},
|
2016
2045
|
{
|
2017
|
-
"__schema": "
|
2046
|
+
"__schema": "ExportSchema",
|
2018
2047
|
"location": {
|
2019
|
-
"filePath": "
|
2048
|
+
"filePath": "index.ts",
|
2020
2049
|
"line": 7,
|
2021
|
-
"character":
|
2050
|
+
"character": 30
|
2022
2051
|
},
|
2023
|
-
"signature": "interface LinterOptions",
|
2024
2052
|
"name": "LinterOptions",
|
2025
|
-
"
|
2026
|
-
|
2027
|
-
|
2028
|
-
"
|
2029
|
-
|
2030
|
-
|
2031
|
-
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2053
|
+
"exportNode": {
|
2054
|
+
"__schema": "InterfaceSchema",
|
2055
|
+
"location": {
|
2056
|
+
"filePath": "linter-context.ts",
|
2057
|
+
"line": 7,
|
2058
|
+
"character": 1
|
2059
|
+
},
|
2060
|
+
"signature": "interface LinterOptions",
|
2061
|
+
"name": "LinterOptions",
|
2062
|
+
"members": [
|
2063
|
+
{
|
2064
|
+
"__schema": "VariableLikeSchema",
|
2035
2065
|
"location": {
|
2036
2066
|
"filePath": "linter-context.ts",
|
2037
|
-
"line":
|
2067
|
+
"line": 11,
|
2038
2068
|
"character": 3
|
2039
2069
|
},
|
2040
|
-
"
|
2041
|
-
|
2042
|
-
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
"
|
2049
|
-
"line": 11,
|
2050
|
-
"character": 22
|
2070
|
+
"doc": {
|
2071
|
+
"__schema": "DocSchema",
|
2072
|
+
"location": {
|
2073
|
+
"filePath": "linter-context.ts",
|
2074
|
+
"line": 8,
|
2075
|
+
"character": 3
|
2076
|
+
},
|
2077
|
+
"raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
|
2078
|
+
"comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
|
2051
2079
|
},
|
2080
|
+
"signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
|
2081
|
+
"name": "extensionFormats",
|
2052
2082
|
"type": {
|
2053
|
-
"__schema": "
|
2083
|
+
"__schema": "TypeArraySchema",
|
2054
2084
|
"location": {
|
2055
2085
|
"filePath": "linter-context.ts",
|
2056
2086
|
"line": 11,
|
2057
2087
|
"character": 22
|
2058
2088
|
},
|
2059
|
-
"
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
"line": 16,
|
2069
|
-
"character": 3
|
2070
|
-
},
|
2071
|
-
"doc": {
|
2072
|
-
"__schema": "DocSchema",
|
2073
|
-
"location": {
|
2074
|
-
"filePath": "linter-context.ts",
|
2075
|
-
"line": 13,
|
2076
|
-
"character": 3
|
2089
|
+
"type": {
|
2090
|
+
"__schema": "KeywordTypeSchema",
|
2091
|
+
"location": {
|
2092
|
+
"filePath": "linter-context.ts",
|
2093
|
+
"line": 11,
|
2094
|
+
"character": 22
|
2095
|
+
},
|
2096
|
+
"name": "string"
|
2097
|
+
}
|
2077
2098
|
},
|
2078
|
-
"
|
2079
|
-
"comment": "automatically fix problems"
|
2099
|
+
"isOptional": true
|
2080
2100
|
},
|
2081
|
-
|
2082
|
-
|
2083
|
-
"type": {
|
2084
|
-
"__schema": "KeywordTypeSchema",
|
2101
|
+
{
|
2102
|
+
"__schema": "VariableLikeSchema",
|
2085
2103
|
"location": {
|
2086
2104
|
"filePath": "linter-context.ts",
|
2087
2105
|
"line": 16,
|
2088
|
-
"character": 9
|
2089
|
-
},
|
2090
|
-
"name": "boolean"
|
2091
|
-
},
|
2092
|
-
"isOptional": true
|
2093
|
-
},
|
2094
|
-
{
|
2095
|
-
"__schema": "VariableLikeSchema",
|
2096
|
-
"location": {
|
2097
|
-
"filePath": "linter-context.ts",
|
2098
|
-
"line": 21,
|
2099
|
-
"character": 3
|
2100
|
-
},
|
2101
|
-
"doc": {
|
2102
|
-
"__schema": "DocSchema",
|
2103
|
-
"location": {
|
2104
|
-
"filePath": "linter-context.ts",
|
2105
|
-
"line": 18,
|
2106
2106
|
"character": 3
|
2107
2107
|
},
|
2108
|
-
"
|
2109
|
-
|
2108
|
+
"doc": {
|
2109
|
+
"__schema": "DocSchema",
|
2110
|
+
"location": {
|
2111
|
+
"filePath": "linter-context.ts",
|
2112
|
+
"line": 13,
|
2113
|
+
"character": 3
|
2114
|
+
},
|
2115
|
+
"raw": "/**\n * automatically fix problems\n */",
|
2116
|
+
"comment": "automatically fix problems"
|
2117
|
+
},
|
2118
|
+
"signature": "(property) LinterOptions.fix?: boolean | undefined",
|
2119
|
+
"name": "fix",
|
2120
|
+
"type": {
|
2121
|
+
"__schema": "KeywordTypeSchema",
|
2122
|
+
"location": {
|
2123
|
+
"filePath": "linter-context.ts",
|
2124
|
+
"line": 16,
|
2125
|
+
"character": 9
|
2126
|
+
},
|
2127
|
+
"name": "boolean"
|
2128
|
+
},
|
2129
|
+
"isOptional": true
|
2110
2130
|
},
|
2111
|
-
|
2112
|
-
|
2113
|
-
"type": {
|
2114
|
-
"__schema": "TypeRefSchema",
|
2131
|
+
{
|
2132
|
+
"__schema": "VariableLikeSchema",
|
2115
2133
|
"location": {
|
2116
2134
|
"filePath": "linter-context.ts",
|
2117
2135
|
"line": 21,
|
2118
|
-
"character":
|
2136
|
+
"character": 3
|
2119
2137
|
},
|
2120
|
-
"
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2138
|
+
"doc": {
|
2139
|
+
"__schema": "DocSchema",
|
2140
|
+
"location": {
|
2141
|
+
"filePath": "linter-context.ts",
|
2142
|
+
"line": 18,
|
2143
|
+
"character": 3
|
2144
|
+
},
|
2145
|
+
"raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
|
2146
|
+
"comment": "specify the types of fixes to apply (problem, suggestion, layout)"
|
2147
|
+
},
|
2148
|
+
"signature": "(property) LinterOptions.fixTypes?: FixTypes | undefined",
|
2149
|
+
"name": "fixTypes",
|
2150
|
+
"type": {
|
2151
|
+
"__schema": "TypeRefSchema",
|
2152
|
+
"location": {
|
2153
|
+
"filePath": "linter-context.ts",
|
2154
|
+
"line": 21,
|
2155
|
+
"character": 14
|
2156
|
+
},
|
2157
|
+
"name": "FixTypes"
|
2158
|
+
},
|
2159
|
+
"isOptional": true
|
2160
|
+
}
|
2161
|
+
],
|
2162
|
+
"extendsNodes": []
|
2163
|
+
}
|
2127
2164
|
},
|
2128
2165
|
{
|
2129
|
-
"__schema": "
|
2166
|
+
"__schema": "ExportSchema",
|
2130
2167
|
"location": {
|
2131
|
-
"filePath": "
|
2132
|
-
"line":
|
2133
|
-
"character":
|
2168
|
+
"filePath": "index.ts",
|
2169
|
+
"line": 8,
|
2170
|
+
"character": 15
|
2134
2171
|
},
|
2135
|
-
"signature": "interface LinterEnv",
|
2136
2172
|
"name": "LinterEnv",
|
2137
|
-
"
|
2138
|
-
|
2139
|
-
|
2140
|
-
"
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2173
|
+
"exportNode": {
|
2174
|
+
"__schema": "InterfaceSchema",
|
2175
|
+
"location": {
|
2176
|
+
"filePath": "linter-env-type.ts",
|
2177
|
+
"line": 4,
|
2178
|
+
"character": 1
|
2179
|
+
},
|
2180
|
+
"signature": "interface LinterEnv",
|
2181
|
+
"name": "LinterEnv",
|
2182
|
+
"members": [
|
2183
|
+
{
|
2184
|
+
"__schema": "FunctionLikeSchema",
|
2147
2185
|
"location": {
|
2148
2186
|
"filePath": "linter-env-type.ts",
|
2149
|
-
"line":
|
2187
|
+
"line": 8,
|
2150
2188
|
"character": 3
|
2151
2189
|
},
|
2152
|
-
"
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
"filePath": "linter-env-type.ts",
|
2162
|
-
"line": 8,
|
2163
|
-
"character": 13
|
2190
|
+
"doc": {
|
2191
|
+
"__schema": "DocSchema",
|
2192
|
+
"location": {
|
2193
|
+
"filePath": "linter-env-type.ts",
|
2194
|
+
"line": 5,
|
2195
|
+
"character": 3
|
2196
|
+
},
|
2197
|
+
"raw": "/**\n * return a Linter instance.\n */",
|
2198
|
+
"comment": "return a Linter instance."
|
2164
2199
|
},
|
2165
|
-
"
|
2166
|
-
"
|
2167
|
-
|
2168
|
-
|
2200
|
+
"signature": "(method) LinterEnv.linter(): EnvHandler<Linter>",
|
2201
|
+
"name": "linter",
|
2202
|
+
"params": [],
|
2203
|
+
"returnType": {
|
2204
|
+
"__schema": "TypeRefSchema",
|
2205
|
+
"location": {
|
2206
|
+
"filePath": "linter-env-type.ts",
|
2207
|
+
"line": 8,
|
2208
|
+
"character": 13
|
2209
|
+
},
|
2210
|
+
"name": "EnvHandler",
|
2211
|
+
"typeArgs": [
|
2212
|
+
{
|
2213
|
+
"__schema": "TypeRefSchema",
|
2214
|
+
"location": {
|
2215
|
+
"filePath": "linter-env-type.ts",
|
2216
|
+
"line": 8,
|
2217
|
+
"character": 24
|
2218
|
+
},
|
2219
|
+
"name": "Linter"
|
2220
|
+
}
|
2221
|
+
]
|
2169
2222
|
},
|
2170
|
-
"
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
"line": 8,
|
2176
|
-
"character": 24
|
2177
|
-
},
|
2178
|
-
"name": "Linter"
|
2179
|
-
}
|
2180
|
-
]
|
2181
|
-
},
|
2182
|
-
"modifiers": []
|
2183
|
-
}
|
2184
|
-
],
|
2185
|
-
"extendsNodes": []
|
2223
|
+
"modifiers": []
|
2224
|
+
}
|
2225
|
+
],
|
2226
|
+
"extendsNodes": []
|
2227
|
+
}
|
2186
2228
|
},
|
2187
2229
|
{
|
2188
2230
|
"__schema": "UnImplementedSchema",
|
@@ -2314,8 +2356,7 @@
|
|
2314
2356
|
"line": 18,
|
2315
2357
|
"character": 14
|
2316
2358
|
},
|
2317
|
-
"name": "FixTypes"
|
2318
|
-
"internalFilePath": "linter-context.ts"
|
2359
|
+
"name": "FixTypes"
|
2319
2360
|
},
|
2320
2361
|
"isOptional": true
|
2321
2362
|
}
|
@@ -2378,11 +2419,7 @@
|
|
2378
2419
|
"line": 24,
|
2379
2420
|
"character": 29
|
2380
2421
|
},
|
2381
|
-
"name": "EnvsMain"
|
2382
|
-
"componentId": {
|
2383
|
-
"scope": "teambit.envs",
|
2384
|
-
"name": "envs"
|
2385
|
-
}
|
2422
|
+
"name": "EnvsMain"
|
2386
2423
|
},
|
2387
2424
|
"isOptional": false,
|
2388
2425
|
"isSpread": false
|
@@ -2402,8 +2439,7 @@
|
|
2402
2439
|
"line": 24,
|
2403
2440
|
"character": 62
|
2404
2441
|
},
|
2405
|
-
"name": "LinterService"
|
2406
|
-
"internalFilePath": "linter.service.ts"
|
2442
|
+
"name": "LinterService"
|
2407
2443
|
},
|
2408
2444
|
"isOptional": false,
|
2409
2445
|
"isSpread": false
|
@@ -2462,11 +2498,7 @@
|
|
2462
2498
|
"line": 29,
|
2463
2499
|
"character": 26
|
2464
2500
|
},
|
2465
|
-
"name": "Component"
|
2466
|
-
"componentId": {
|
2467
|
-
"scope": "teambit.component",
|
2468
|
-
"name": "component"
|
2469
|
-
}
|
2501
|
+
"name": "Component"
|
2470
2502
|
}
|
2471
2503
|
},
|
2472
2504
|
"isOptional": false,
|
@@ -2531,11 +2563,7 @@
|
|
2531
2563
|
"line": 35,
|
2532
2564
|
"character": 22
|
2533
2565
|
},
|
2534
|
-
"name": "ExecutionContext"
|
2535
|
-
"componentId": {
|
2536
|
-
"scope": "teambit.envs",
|
2537
|
-
"name": "envs"
|
2538
|
-
}
|
2566
|
+
"name": "ExecutionContext"
|
2539
2567
|
},
|
2540
2568
|
"isOptional": false,
|
2541
2569
|
"isSpread": false
|
@@ -2712,11 +2740,7 @@
|
|
2712
2740
|
"line": 55,
|
2713
2741
|
"character": 55
|
2714
2742
|
},
|
2715
|
-
"name": "EnvsMain"
|
2716
|
-
"componentId": {
|
2717
|
-
"scope": "teambit.envs",
|
2718
|
-
"name": "envs"
|
2719
|
-
}
|
2743
|
+
"name": "EnvsMain"
|
2720
2744
|
},
|
2721
2745
|
{
|
2722
2746
|
"__schema": "TypeRefSchema",
|
@@ -2725,11 +2749,7 @@
|
|
2725
2749
|
"line": 55,
|
2726
2750
|
"character": 65
|
2727
2751
|
},
|
2728
|
-
"name": "CLIMain"
|
2729
|
-
"componentId": {
|
2730
|
-
"scope": "teambit.harmony",
|
2731
|
-
"name": "cli"
|
2732
|
-
}
|
2752
|
+
"name": "CLIMain"
|
2733
2753
|
},
|
2734
2754
|
{
|
2735
2755
|
"__schema": "TypeRefSchema",
|
@@ -2738,11 +2758,7 @@
|
|
2738
2758
|
"line": 55,
|
2739
2759
|
"character": 74
|
2740
2760
|
},
|
2741
|
-
"name": "ComponentMain"
|
2742
|
-
"componentId": {
|
2743
|
-
"scope": "teambit.component",
|
2744
|
-
"name": "component"
|
2745
|
-
}
|
2761
|
+
"name": "ComponentMain"
|
2746
2762
|
},
|
2747
2763
|
{
|
2748
2764
|
"__schema": "TypeRefSchema",
|
@@ -2751,11 +2767,7 @@
|
|
2751
2767
|
"line": 55,
|
2752
2768
|
"character": 89
|
2753
2769
|
},
|
2754
|
-
"name": "LoggerMain"
|
2755
|
-
"componentId": {
|
2756
|
-
"scope": "teambit.harmony",
|
2757
|
-
"name": "logger"
|
2758
|
-
}
|
2770
|
+
"name": "LoggerMain"
|
2759
2771
|
},
|
2760
2772
|
{
|
2761
2773
|
"__schema": "TypeRefSchema",
|
@@ -2764,11 +2776,7 @@
|
|
2764
2776
|
"line": 55,
|
2765
2777
|
"character": 101
|
2766
2778
|
},
|
2767
|
-
"name": "Workspace"
|
2768
|
-
"componentId": {
|
2769
|
-
"scope": "teambit.workspace",
|
2770
|
-
"name": "workspace"
|
2771
|
-
}
|
2779
|
+
"name": "Workspace"
|
2772
2780
|
}
|
2773
2781
|
]
|
2774
2782
|
},
|
@@ -3338,8 +3346,7 @@
|
|
3338
3346
|
"line": 77,
|
3339
3347
|
"character": 13
|
3340
3348
|
},
|
3341
|
-
"name": "LintMessage"
|
3342
|
-
"internalFilePath": "linter.ts"
|
3349
|
+
"name": "LintMessage"
|
3343
3350
|
}
|
3344
3351
|
},
|
3345
3352
|
"isOptional": false
|
@@ -4016,11 +4023,7 @@
|
|
4016
4023
|
"line": 155,
|
4017
4024
|
"character": 47
|
4018
4025
|
},
|
4019
|
-
"name": "BuildContext"
|
4020
|
-
"componentId": {
|
4021
|
-
"scope": "teambit.pipelines",
|
4022
|
-
"name": "builder"
|
4023
|
-
}
|
4026
|
+
"name": "BuildContext"
|
4024
4027
|
},
|
4025
4028
|
"isOptional": true,
|
4026
4029
|
"isSpread": false
|
@@ -4160,11 +4163,7 @@
|
|
4160
4163
|
"line": 11,
|
4161
4164
|
"character": 26
|
4162
4165
|
},
|
4163
|
-
"name": "BuildContext"
|
4164
|
-
"componentId": {
|
4165
|
-
"scope": "teambit.pipelines",
|
4166
|
-
"name": "builder"
|
4167
|
-
}
|
4166
|
+
"name": "BuildContext"
|
4168
4167
|
},
|
4169
4168
|
"isOptional": false,
|
4170
4169
|
"isSpread": false
|
@@ -4186,11 +4185,7 @@
|
|
4186
4185
|
"line": 11,
|
4187
4186
|
"character": 49
|
4188
4187
|
},
|
4189
|
-
"name": "BuiltTaskResult"
|
4190
|
-
"componentId": {
|
4191
|
-
"scope": "teambit.pipelines",
|
4192
|
-
"name": "builder"
|
4193
|
-
}
|
4188
|
+
"name": "BuiltTaskResult"
|
4194
4189
|
}
|
4195
4190
|
]
|
4196
4191
|
},
|
@@ -4222,7 +4217,7 @@
|
|
4222
4217
|
"_legacy": {
|
4223
4218
|
"scope": "teambit.defender",
|
4224
4219
|
"name": "linter",
|
4225
|
-
"version": "1.0.
|
4220
|
+
"version": "1.0.258"
|
4226
4221
|
},
|
4227
4222
|
"_scope": "teambit.defender"
|
4228
4223
|
}
|
@@ -4313,8 +4308,7 @@
|
|
4313
4308
|
"line": 5,
|
4314
4309
|
"character": 30
|
4315
4310
|
},
|
4316
|
-
"name": "FixType"
|
4317
|
-
"internalFilePath": "linter-context.ts"
|
4311
|
+
"name": "FixType"
|
4318
4312
|
}
|
4319
4313
|
]
|
4320
4314
|
}
|
@@ -4423,8 +4417,7 @@
|
|
4423
4417
|
"line": 21,
|
4424
4418
|
"character": 14
|
4425
4419
|
},
|
4426
|
-
"name": "FixTypes"
|
4427
|
-
"internalFilePath": "linter-context.ts"
|
4420
|
+
"name": "FixTypes"
|
4428
4421
|
},
|
4429
4422
|
"isOptional": true
|
4430
4423
|
}
|
@@ -4518,10 +4511,6 @@
|
|
4518
4511
|
"character": 21
|
4519
4512
|
},
|
4520
4513
|
"name": "ComponentMap",
|
4521
|
-
"componentId": {
|
4522
|
-
"scope": "teambit.component",
|
4523
|
-
"name": "component"
|
4524
|
-
},
|
4525
4514
|
"typeArgs": [
|
4526
4515
|
{
|
4527
4516
|
"__schema": "KeywordTypeSchema",
|
@@ -4559,7 +4548,7 @@
|
|
4559
4548
|
"_legacy": {
|
4560
4549
|
"scope": "teambit.defender",
|
4561
4550
|
"name": "linter",
|
4562
|
-
"version": "1.0.
|
4551
|
+
"version": "1.0.258"
|
4563
4552
|
},
|
4564
4553
|
"_scope": "teambit.defender"
|
4565
4554
|
}
|
@@ -4670,8 +4659,7 @@
|
|
4670
4659
|
"line": 21,
|
4671
4660
|
"character": 14
|
4672
4661
|
},
|
4673
|
-
"name": "FixTypes"
|
4674
|
-
"internalFilePath": "linter-context.ts"
|
4662
|
+
"name": "FixTypes"
|
4675
4663
|
},
|
4676
4664
|
"doc": {
|
4677
4665
|
"__schema": "DocSchema",
|
@@ -4738,10 +4726,6 @@
|
|
4738
4726
|
"character": 13
|
4739
4727
|
},
|
4740
4728
|
"name": "EnvHandler",
|
4741
|
-
"componentId": {
|
4742
|
-
"scope": "teambit.envs",
|
4743
|
-
"name": "envs"
|
4744
|
-
},
|
4745
4729
|
"typeArgs": [
|
4746
4730
|
{
|
4747
4731
|
"__schema": "TypeRefSchema",
|
@@ -4766,7 +4750,7 @@
|
|
4766
4750
|
"componentId": {
|
4767
4751
|
"scope": "teambit.defender",
|
4768
4752
|
"name": "linter",
|
4769
|
-
"version": "1.0.
|
4753
|
+
"version": "1.0.258"
|
4770
4754
|
},
|
4771
4755
|
"taggedModuleExports": []
|
4772
4756
|
}
|