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