@teambit/linter 1.0.188 → 1.0.190

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.
@@ -0,0 +1,4772 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "VariableLikeSchema",
18
+ "location": {
19
+ "filePath": "linter.aspect.ts",
20
+ "line": 3,
21
+ "character": 14
22
+ },
23
+ "signature": "const LinterAspect: Aspect",
24
+ "name": "LinterAspect",
25
+ "type": {
26
+ "__schema": "TypeRefSchema",
27
+ "location": {
28
+ "filePath": "linter.aspect.ts",
29
+ "line": 3,
30
+ "character": 14
31
+ },
32
+ "name": "Aspect",
33
+ "componentId": {
34
+ "scope": "teambit.harmony",
35
+ "name": "harmony",
36
+ "version": "0.4.6"
37
+ }
38
+ },
39
+ "isOptional": false,
40
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/linter',\n})"
41
+ },
42
+ {
43
+ "__schema": "ClassSchema",
44
+ "location": {
45
+ "filePath": "linter.main.runtime.ts",
46
+ "line": 21,
47
+ "character": 1
48
+ },
49
+ "signature": "class LinterMain",
50
+ "name": "LinterMain",
51
+ "members": [
52
+ {
53
+ "__schema": "VariableLikeSchema",
54
+ "location": {
55
+ "filePath": "linter.main.runtime.ts",
56
+ "line": 22,
57
+ "character": 3
58
+ },
59
+ "signature": "(property) LinterMain.runtime: RuntimeDefinition",
60
+ "name": "runtime",
61
+ "type": {
62
+ "__schema": "InferenceTypeSchema",
63
+ "location": {
64
+ "filePath": "linter.main.runtime.ts",
65
+ "line": 22,
66
+ "character": 3
67
+ },
68
+ "type": "RuntimeDefinition"
69
+ },
70
+ "isOptional": true,
71
+ "defaultValue": "MainRuntime"
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",
85
+ "location": {
86
+ "filePath": "linter.main.runtime.ts",
87
+ "line": 24,
88
+ "character": 15
89
+ },
90
+ "name": "envs",
91
+ "type": {
92
+ "__schema": "TypeRefSchema",
93
+ "location": {
94
+ "filePath": "linter.main.runtime.ts",
95
+ "line": 24,
96
+ "character": 29
97
+ },
98
+ "name": "EnvsMain",
99
+ "componentId": {
100
+ "scope": "teambit.envs",
101
+ "name": "envs"
102
+ }
103
+ },
104
+ "isOptional": false,
105
+ "isSpread": false
106
+ },
107
+ {
108
+ "__schema": "ParameterSchema",
109
+ "location": {
110
+ "filePath": "linter.main.runtime.ts",
111
+ "line": 24,
112
+ "character": 39
113
+ },
114
+ "name": "linterService",
115
+ "type": {
116
+ "__schema": "TypeRefSchema",
117
+ "location": {
118
+ "filePath": "linter.main.runtime.ts",
119
+ "line": 24,
120
+ "character": 62
121
+ },
122
+ "name": "LinterService",
123
+ "internalFilePath": "linter.service.ts"
124
+ },
125
+ "isOptional": false,
126
+ "isSpread": false
127
+ }
128
+ ],
129
+ "returnType": {
130
+ "__schema": "ThisTypeSchema",
131
+ "location": {
132
+ "filePath": "linter.main.runtime.ts",
133
+ "line": 21,
134
+ "character": 1
135
+ },
136
+ "name": "LinterMain"
137
+ },
138
+ "modifiers": []
139
+ },
140
+ {
141
+ "__schema": "FunctionLikeSchema",
142
+ "location": {
143
+ "filePath": "linter.main.runtime.ts",
144
+ "line": 29,
145
+ "character": 3
146
+ },
147
+ "doc": {
148
+ "__schema": "DocSchema",
149
+ "location": {
150
+ "filePath": "linter.main.runtime.ts",
151
+ "line": 26,
152
+ "character": 3
153
+ },
154
+ "raw": "/**\n * lint an array of components.\n */",
155
+ "comment": "lint an array of components."
156
+ },
157
+ "signature": "(method) LinterMain.lint(components: Component[], opts: LinterOptions): Promise<EnvsExecutionResult<LintResults>>",
158
+ "name": "lint",
159
+ "params": [
160
+ {
161
+ "__schema": "ParameterSchema",
162
+ "location": {
163
+ "filePath": "linter.main.runtime.ts",
164
+ "line": 29,
165
+ "character": 14
166
+ },
167
+ "name": "components",
168
+ "type": {
169
+ "__schema": "TypeArraySchema",
170
+ "location": {
171
+ "filePath": "linter.main.runtime.ts",
172
+ "line": 29,
173
+ "character": 26
174
+ },
175
+ "type": {
176
+ "__schema": "TypeRefSchema",
177
+ "location": {
178
+ "filePath": "linter.main.runtime.ts",
179
+ "line": 29,
180
+ "character": 26
181
+ },
182
+ "name": "Component",
183
+ "componentId": {
184
+ "scope": "teambit.component",
185
+ "name": "component"
186
+ }
187
+ }
188
+ },
189
+ "isOptional": false,
190
+ "isSpread": false
191
+ },
192
+ {
193
+ "__schema": "ParameterSchema",
194
+ "location": {
195
+ "filePath": "linter.main.runtime.ts",
196
+ "line": 29,
197
+ "character": 39
198
+ },
199
+ "name": "opts",
200
+ "type": {
201
+ "__schema": "TypeRefSchema",
202
+ "location": {
203
+ "filePath": "linter.main.runtime.ts",
204
+ "line": 29,
205
+ "character": 45
206
+ },
207
+ "name": "LinterOptions"
208
+ },
209
+ "isOptional": false,
210
+ "isSpread": false
211
+ }
212
+ ],
213
+ "returnType": {
214
+ "__schema": "InferenceTypeSchema",
215
+ "location": {
216
+ "filePath": "linter.main.runtime.ts",
217
+ "line": 29,
218
+ "character": 3
219
+ },
220
+ "type": "Promise<EnvsExecutionResult<LintResults>>"
221
+ },
222
+ "modifiers": [
223
+ "async"
224
+ ]
225
+ },
226
+ {
227
+ "__schema": "FunctionLikeSchema",
228
+ "location": {
229
+ "filePath": "linter.main.runtime.ts",
230
+ "line": 35,
231
+ "character": 3
232
+ },
233
+ "signature": "(method) LinterMain.getLinter(context: ExecutionContext, options: LinterOptions): Linter",
234
+ "name": "getLinter",
235
+ "params": [
236
+ {
237
+ "__schema": "ParameterSchema",
238
+ "location": {
239
+ "filePath": "linter.main.runtime.ts",
240
+ "line": 35,
241
+ "character": 13
242
+ },
243
+ "name": "context",
244
+ "type": {
245
+ "__schema": "TypeRefSchema",
246
+ "location": {
247
+ "filePath": "linter.main.runtime.ts",
248
+ "line": 35,
249
+ "character": 22
250
+ },
251
+ "name": "ExecutionContext",
252
+ "componentId": {
253
+ "scope": "teambit.envs",
254
+ "name": "envs"
255
+ }
256
+ },
257
+ "isOptional": false,
258
+ "isSpread": false
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",
270
+ "location": {
271
+ "filePath": "linter.main.runtime.ts",
272
+ "line": 35,
273
+ "character": 49
274
+ },
275
+ "name": "LinterOptions"
276
+ },
277
+ "isOptional": false,
278
+ "isSpread": false
279
+ }
280
+ ],
281
+ "returnType": {
282
+ "__schema": "TypeRefSchema",
283
+ "location": {
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
315
+ },
316
+ "name": "name",
317
+ "tagName": "parameter",
318
+ "comment": "name of the task."
319
+ }
320
+ ]
321
+ },
322
+ "signature": "(method) LinterMain.createTask(name?: string): LintTask",
323
+ "name": "createTask",
324
+ "params": [
325
+ {
326
+ "__schema": "ParameterSchema",
327
+ "location": {
328
+ "filePath": "linter.main.runtime.ts",
329
+ "line": 43,
330
+ "character": 14
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"
341
+ },
342
+ "isOptional": true,
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
372
+ },
373
+ "type": "Aspect[]"
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
384
+ },
385
+ "signature": "(property) LinterMain.defaultConfig: LinterConfig",
386
+ "name": "defaultConfig",
387
+ "type": {
388
+ "__schema": "TypeRefSchema",
389
+ "location": {
390
+ "filePath": "linter.main.runtime.ts",
391
+ "line": 49,
392
+ "character": 3
393
+ },
394
+ "name": "LinterConfig"
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",
411
+ "location": {
412
+ "filePath": "linter.main.runtime.ts",
413
+ "line": 55,
414
+ "character": 5
415
+ },
416
+ "name": "[ envs, cli, component, loggerAspect, workspace ]",
417
+ "type": {
418
+ "__schema": "TupleTypeSchema",
419
+ "location": {
420
+ "filePath": "linter.main.runtime.ts",
421
+ "line": 55,
422
+ "character": 54
423
+ },
424
+ "elements": [
425
+ {
426
+ "__schema": "TypeRefSchema",
427
+ "location": {
428
+ "filePath": "linter.main.runtime.ts",
429
+ "line": 55,
430
+ "character": 55
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
+ }
476
+ },
477
+ {
478
+ "__schema": "TypeRefSchema",
479
+ "location": {
480
+ "filePath": "linter.main.runtime.ts",
481
+ "line": 55,
482
+ "character": 101
483
+ },
484
+ "name": "Workspace",
485
+ "componentId": {
486
+ "scope": "teambit.workspace",
487
+ "name": "workspace"
488
+ }
489
+ }
490
+ ]
491
+ },
492
+ "isOptional": false,
493
+ "isSpread": false
494
+ },
495
+ {
496
+ "__schema": "ParameterSchema",
497
+ "location": {
498
+ "filePath": "linter.main.runtime.ts",
499
+ "line": 56,
500
+ "character": 5
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"
511
+ },
512
+ "isOptional": false,
513
+ "isSpread": false
514
+ }
515
+ ],
516
+ "returnType": {
517
+ "__schema": "InferenceTypeSchema",
518
+ "location": {
519
+ "filePath": "linter.main.runtime.ts",
520
+ "line": 54,
521
+ "character": 3
522
+ },
523
+ "type": "Promise<LinterMain>"
524
+ },
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
+ {
552
+ "__schema": "VariableLikeSchema",
553
+ "location": {
554
+ "filePath": "linter.main.runtime.ts",
555
+ "line": 17,
556
+ "character": 3
557
+ },
558
+ "doc": {
559
+ "__schema": "DocSchema",
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",
570
+ "type": {
571
+ "__schema": "TypeArraySchema",
572
+ "location": {
573
+ "filePath": "linter.main.runtime.ts",
574
+ "line": 17,
575
+ "character": 21
576
+ },
577
+ "type": {
578
+ "__schema": "KeywordTypeSchema",
579
+ "location": {
580
+ "filePath": "linter.main.runtime.ts",
581
+ "line": 17,
582
+ "character": 21
583
+ },
584
+ "name": "string"
585
+ }
586
+ },
587
+ "isOptional": false
588
+ },
589
+ {
590
+ "__schema": "VariableLikeSchema",
591
+ "location": {
592
+ "filePath": "linter.main.runtime.ts",
593
+ "line": 18,
594
+ "character": 3
595
+ },
596
+ "signature": "(property) fixTypes?: FixTypes | undefined",
597
+ "name": "fixTypes",
598
+ "type": {
599
+ "__schema": "TypeRefSchema",
600
+ "location": {
601
+ "filePath": "linter.main.runtime.ts",
602
+ "line": 18,
603
+ "character": 14
604
+ },
605
+ "name": "FixTypes",
606
+ "internalFilePath": "linter-context.ts"
607
+ },
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": [
630
+ {
631
+ "__schema": "VariableLikeSchema",
632
+ "location": {
633
+ "filePath": "linter.ts",
634
+ "line": 122,
635
+ "character": 3
636
+ },
637
+ "signature": "(property) results: ComponentLintResult[]",
638
+ "name": "results",
639
+ "type": {
640
+ "__schema": "TypeArraySchema",
641
+ "location": {
642
+ "filePath": "linter.ts",
643
+ "line": 122,
644
+ "character": 12
645
+ },
646
+ "type": {
647
+ "__schema": "TypeRefSchema",
648
+ "location": {
649
+ "filePath": "linter.ts",
650
+ "line": 122,
651
+ "character": 12
652
+ },
653
+ "name": "ComponentLintResult"
654
+ }
655
+ },
656
+ "isOptional": false
657
+ },
658
+ {
659
+ "__schema": "VariableLikeSchema",
660
+ "location": {
661
+ "filePath": "linter.ts",
662
+ "line": 126,
663
+ "character": 3
664
+ },
665
+ "doc": {
666
+ "__schema": "DocSchema",
667
+ "location": {
668
+ "filePath": "linter.ts",
669
+ "line": 123,
670
+ "character": 3
671
+ },
672
+ "raw": "/**\n * total errors count of the component (from all of the components).\n */",
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"
685
+ },
686
+ "isOptional": false
687
+ },
688
+ {
689
+ "__schema": "VariableLikeSchema",
690
+ "location": {
691
+ "filePath": "linter.ts",
692
+ "line": 130,
693
+ "character": 3
694
+ },
695
+ "doc": {
696
+ "__schema": "DocSchema",
697
+ "location": {
698
+ "filePath": "linter.ts",
699
+ "line": 127,
700
+ "character": 3
701
+ },
702
+ "raw": "/**\n * total fatal errors count of the component (from all of the components).\n */",
703
+ "comment": "total fatal errors count of the component (from all of the components)."
704
+ },
705
+ "signature": "(property) totalFatalErrorCount?: number | undefined",
706
+ "name": "totalFatalErrorCount",
707
+ "type": {
708
+ "__schema": "KeywordTypeSchema",
709
+ "location": {
710
+ "filePath": "linter.ts",
711
+ "line": 130,
712
+ "character": 26
713
+ },
714
+ "name": "number"
715
+ },
716
+ "isOptional": true
717
+ },
718
+ {
719
+ "__schema": "VariableLikeSchema",
720
+ "location": {
721
+ "filePath": "linter.ts",
722
+ "line": 134,
723
+ "character": 3
724
+ },
725
+ "doc": {
726
+ "__schema": "DocSchema",
727
+ "location": {
728
+ "filePath": "linter.ts",
729
+ "line": 131,
730
+ "character": 3
731
+ },
732
+ "raw": "/**\n * total fixable errors count of the component (from all of the components).\n */",
733
+ "comment": "total fixable errors count of the component (from all of the components)."
734
+ },
735
+ "signature": "(property) totalFixableErrorCount?: number | undefined",
736
+ "name": "totalFixableErrorCount",
737
+ "type": {
738
+ "__schema": "KeywordTypeSchema",
739
+ "location": {
740
+ "filePath": "linter.ts",
741
+ "line": 134,
742
+ "character": 28
743
+ },
744
+ "name": "number"
745
+ },
746
+ "isOptional": true
747
+ },
748
+ {
749
+ "__schema": "VariableLikeSchema",
750
+ "location": {
751
+ "filePath": "linter.ts",
752
+ "line": 138,
753
+ "character": 3
754
+ },
755
+ "doc": {
756
+ "__schema": "DocSchema",
757
+ "location": {
758
+ "filePath": "linter.ts",
759
+ "line": 135,
760
+ "character": 3
761
+ },
762
+ "raw": "/**\n * total fatal warning count of the component (from all of the components).\n */",
763
+ "comment": "total fatal warning count of the component (from all of the components)."
764
+ },
765
+ "signature": "(property) totalFixableWarningCount?: number | undefined",
766
+ "name": "totalFixableWarningCount",
767
+ "type": {
768
+ "__schema": "KeywordTypeSchema",
769
+ "location": {
770
+ "filePath": "linter.ts",
771
+ "line": 138,
772
+ "character": 30
773
+ },
774
+ "name": "number"
775
+ },
776
+ "isOptional": true
777
+ },
778
+ {
779
+ "__schema": "VariableLikeSchema",
780
+ "location": {
781
+ "filePath": "linter.ts",
782
+ "line": 142,
783
+ "character": 3
784
+ },
785
+ "doc": {
786
+ "__schema": "DocSchema",
787
+ "location": {
788
+ "filePath": "linter.ts",
789
+ "line": 139,
790
+ "character": 3
791
+ },
792
+ "raw": "/**\n * total warning count of the component (from all of the components).\n */",
793
+ "comment": "total warning count of the component (from all of the components)."
794
+ },
795
+ "signature": "(property) totalWarningCount: number",
796
+ "name": "totalWarningCount",
797
+ "type": {
798
+ "__schema": "KeywordTypeSchema",
799
+ "location": {
800
+ "filePath": "linter.ts",
801
+ "line": 142,
802
+ "character": 22
803
+ },
804
+ "name": "number"
805
+ },
806
+ "isOptional": false
807
+ },
808
+ {
809
+ "__schema": "VariableLikeSchema",
810
+ "location": {
811
+ "filePath": "linter.ts",
812
+ "line": 144,
813
+ "character": 3
814
+ },
815
+ "signature": "(property) totalComponentsWithErrorCount: number",
816
+ "name": "totalComponentsWithErrorCount",
817
+ "type": {
818
+ "__schema": "KeywordTypeSchema",
819
+ "location": {
820
+ "filePath": "linter.ts",
821
+ "line": 144,
822
+ "character": 34
823
+ },
824
+ "name": "number"
825
+ },
826
+ "isOptional": false
827
+ },
828
+ {
829
+ "__schema": "VariableLikeSchema",
830
+ "location": {
831
+ "filePath": "linter.ts",
832
+ "line": 145,
833
+ "character": 3
834
+ },
835
+ "signature": "(property) totalComponentsWithFatalErrorCount?: number | undefined",
836
+ "name": "totalComponentsWithFatalErrorCount",
837
+ "type": {
838
+ "__schema": "KeywordTypeSchema",
839
+ "location": {
840
+ "filePath": "linter.ts",
841
+ "line": 145,
842
+ "character": 40
843
+ },
844
+ "name": "number"
845
+ },
846
+ "isOptional": true
847
+ },
848
+ {
849
+ "__schema": "VariableLikeSchema",
850
+ "location": {
851
+ "filePath": "linter.ts",
852
+ "line": 146,
853
+ "character": 3
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
863
+ },
864
+ "name": "number"
865
+ },
866
+ "isOptional": true
867
+ },
868
+ {
869
+ "__schema": "VariableLikeSchema",
870
+ "location": {
871
+ "filePath": "linter.ts",
872
+ "line": 147,
873
+ "character": 3
874
+ },
875
+ "signature": "(property) totalComponentsWithFixableWarningCount?: number | undefined",
876
+ "name": "totalComponentsWithFixableWarningCount",
877
+ "type": {
878
+ "__schema": "KeywordTypeSchema",
879
+ "location": {
880
+ "filePath": "linter.ts",
881
+ "line": 147,
882
+ "character": 44
883
+ },
884
+ "name": "number"
885
+ },
886
+ "isOptional": true
887
+ },
888
+ {
889
+ "__schema": "VariableLikeSchema",
890
+ "location": {
891
+ "filePath": "linter.ts",
892
+ "line": 148,
893
+ "character": 3
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
903
+ },
904
+ "name": "number"
905
+ },
906
+ "isOptional": false
907
+ },
908
+ {
909
+ "__schema": "VariableLikeSchema",
910
+ "location": {
911
+ "filePath": "linter.ts",
912
+ "line": 150,
913
+ "character": 3
914
+ },
915
+ "signature": "(property) errors: Error[]",
916
+ "name": "errors",
917
+ "type": {
918
+ "__schema": "TypeArraySchema",
919
+ "location": {
920
+ "filePath": "linter.ts",
921
+ "line": 150,
922
+ "character": 11
923
+ },
924
+ "type": {
925
+ "__schema": "TypeRefSchema",
926
+ "location": {
927
+ "filePath": "linter.ts",
928
+ "line": 150,
929
+ "character": 11
930
+ },
931
+ "name": "Error"
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
964
+ },
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
+ {
980
+ "__schema": "ParameterSchema",
981
+ "location": {
982
+ "filePath": "linter.ts",
983
+ "line": 155,
984
+ "character": 8
985
+ },
986
+ "name": "context",
987
+ "type": {
988
+ "__schema": "TypeRefSchema",
989
+ "location": {
990
+ "filePath": "linter.ts",
991
+ "line": 155,
992
+ "character": 17
993
+ },
994
+ "name": "LinterContext"
995
+ },
996
+ "isOptional": false,
997
+ "isSpread": false
998
+ },
999
+ {
1000
+ "__schema": "ParameterSchema",
1001
+ "location": {
1002
+ "filePath": "linter.ts",
1003
+ "line": 155,
1004
+ "character": 32
1005
+ },
1006
+ "name": "buildContext",
1007
+ "type": {
1008
+ "__schema": "TypeRefSchema",
1009
+ "location": {
1010
+ "filePath": "linter.ts",
1011
+ "line": 155,
1012
+ "character": 47
1013
+ },
1014
+ "name": "BuildContext",
1015
+ "componentId": {
1016
+ "scope": "teambit.pipelines",
1017
+ "name": "builder"
1018
+ }
1019
+ },
1020
+ "isOptional": true,
1021
+ "isSpread": false
1022
+ }
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": []
1045
+ }
1046
+ ],
1047
+ "extendsNodes": []
1048
+ },
1049
+ {
1050
+ "__schema": "TypeSchema",
1051
+ "location": {
1052
+ "filePath": "linter.ts",
1053
+ "line": 43,
1054
+ "character": 1
1055
+ },
1056
+ "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}",
1057
+ "name": "LintResult",
1058
+ "type": {
1059
+ "__schema": "TypeLiteralSchema",
1060
+ "location": {
1061
+ "filePath": "linter.ts",
1062
+ "line": 43,
1063
+ "character": 26
1064
+ },
1065
+ "members": [
1066
+ {
1067
+ "__schema": "VariableLikeSchema",
1068
+ "location": {
1069
+ "filePath": "linter.ts",
1070
+ "line": 47,
1071
+ "character": 3
1072
+ },
1073
+ "doc": {
1074
+ "__schema": "DocSchema",
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",
1085
+ "type": {
1086
+ "__schema": "KeywordTypeSchema",
1087
+ "location": {
1088
+ "filePath": "linter.ts",
1089
+ "line": 47,
1090
+ "character": 13
1091
+ },
1092
+ "name": "string"
1093
+ },
1094
+ "isOptional": false
1095
+ },
1096
+ {
1097
+ "__schema": "VariableLikeSchema",
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",
1218
+ "location": {
1219
+ "filePath": "linter.ts",
1220
+ "line": 72,
1221
+ "character": 3
1222
+ },
1223
+ "doc": {
1224
+ "__schema": "DocSchema",
1225
+ "location": {
1226
+ "filePath": "linter.ts",
1227
+ "line": 69,
1228
+ "character": 3
1229
+ },
1230
+ "raw": "/**\n * number of found warnings.\n */",
1231
+ "comment": "number of found warnings."
1232
+ },
1233
+ "signature": "(property) warningCount: number",
1234
+ "name": "warningCount",
1235
+ "type": {
1236
+ "__schema": "KeywordTypeSchema",
1237
+ "location": {
1238
+ "filePath": "linter.ts",
1239
+ "line": 72,
1240
+ "character": 17
1241
+ },
1242
+ "name": "number"
1243
+ },
1244
+ "isOptional": false
1245
+ },
1246
+ {
1247
+ "__schema": "VariableLikeSchema",
1248
+ "location": {
1249
+ "filePath": "linter.ts",
1250
+ "line": 77,
1251
+ "character": 3
1252
+ },
1253
+ "doc": {
1254
+ "__schema": "DocSchema",
1255
+ "location": {
1256
+ "filePath": "linter.ts",
1257
+ "line": 74,
1258
+ "character": 3
1259
+ },
1260
+ "raw": "/**\n * lint messages.\n */",
1261
+ "comment": "lint messages."
1262
+ },
1263
+ "signature": "(property) messages: LintMessage[]",
1264
+ "name": "messages",
1265
+ "type": {
1266
+ "__schema": "TypeArraySchema",
1267
+ "location": {
1268
+ "filePath": "linter.ts",
1269
+ "line": 77,
1270
+ "character": 13
1271
+ },
1272
+ "type": {
1273
+ "__schema": "TypeRefSchema",
1274
+ "location": {
1275
+ "filePath": "linter.ts",
1276
+ "line": 77,
1277
+ "character": 13
1278
+ },
1279
+ "name": "LintMessage",
1280
+ "internalFilePath": "linter.ts"
1281
+ }
1282
+ },
1283
+ "isOptional": false
1284
+ },
1285
+ {
1286
+ "__schema": "VariableLikeSchema",
1287
+ "location": {
1288
+ "filePath": "linter.ts",
1289
+ "line": 82,
1290
+ "character": 3
1291
+ },
1292
+ "doc": {
1293
+ "__schema": "DocSchema",
1294
+ "location": {
1295
+ "filePath": "linter.ts",
1296
+ "line": 79,
1297
+ "character": 3
1298
+ },
1299
+ "raw": "/**\n * Raw data as returned from the linter\n */",
1300
+ "comment": "Raw data as returned from the linter"
1301
+ },
1302
+ "signature": "(property) raw: any",
1303
+ "name": "raw",
1304
+ "type": {
1305
+ "__schema": "KeywordTypeSchema",
1306
+ "location": {
1307
+ "filePath": "linter.ts",
1308
+ "line": 82,
1309
+ "character": 8
1310
+ },
1311
+ "name": "any"
1312
+ },
1313
+ "isOptional": false
1314
+ }
1315
+ ]
1316
+ }
1317
+ },
1318
+ {
1319
+ "__schema": "TypeSchema",
1320
+ "location": {
1321
+ "filePath": "linter.ts",
1322
+ "line": 5,
1323
+ "character": 1
1324
+ },
1325
+ "signature": "type ComponentLintResult = {\n component: Component;\n output: string;\n totalErrorCount: number;\n totalFatalErrorCount?: number | undefined;\n totalFixableErrorCount?: number | undefined;\n totalFixableWarningCount?: number | undefined;\n totalWarningCount: number;\n results: LintResult[];\n}",
1326
+ "name": "ComponentLintResult",
1327
+ "type": {
1328
+ "__schema": "TypeLiteralSchema",
1329
+ "location": {
1330
+ "filePath": "linter.ts",
1331
+ "line": 5,
1332
+ "character": 35
1333
+ },
1334
+ "members": [
1335
+ {
1336
+ "__schema": "VariableLikeSchema",
1337
+ "location": {
1338
+ "filePath": "linter.ts",
1339
+ "line": 9,
1340
+ "character": 3
1341
+ },
1342
+ "doc": {
1343
+ "__schema": "DocSchema",
1344
+ "location": {
1345
+ "filePath": "linter.ts",
1346
+ "line": 6,
1347
+ "character": 3
1348
+ },
1349
+ "raw": "/**\n * the linted component.\n */",
1350
+ "comment": "the linted component."
1351
+ },
1352
+ "signature": "(property) component: Component",
1353
+ "name": "component",
1354
+ "type": {
1355
+ "__schema": "TypeRefSchema",
1356
+ "location": {
1357
+ "filePath": "linter.ts",
1358
+ "line": 9,
1359
+ "character": 3
1360
+ },
1361
+ "name": "Component",
1362
+ "componentId": {
1363
+ "scope": "teambit.component",
1364
+ "name": "component"
1365
+ }
1366
+ },
1367
+ "isOptional": false
1368
+ },
1369
+ {
1370
+ "__schema": "VariableLikeSchema",
1371
+ "location": {
1372
+ "filePath": "linter.ts",
1373
+ "line": 14,
1374
+ "character": 3
1375
+ },
1376
+ "doc": {
1377
+ "__schema": "DocSchema",
1378
+ "location": {
1379
+ "filePath": "linter.ts",
1380
+ "line": 11,
1381
+ "character": 3
1382
+ },
1383
+ "raw": "/**\n * CLI output of the linter.\n */",
1384
+ "comment": "CLI output of the linter."
1385
+ },
1386
+ "signature": "(property) output: string",
1387
+ "name": "output",
1388
+ "type": {
1389
+ "__schema": "KeywordTypeSchema",
1390
+ "location": {
1391
+ "filePath": "linter.ts",
1392
+ "line": 14,
1393
+ "character": 11
1394
+ },
1395
+ "name": "string"
1396
+ },
1397
+ "isOptional": false
1398
+ },
1399
+ {
1400
+ "__schema": "VariableLikeSchema",
1401
+ "location": {
1402
+ "filePath": "linter.ts",
1403
+ "line": 19,
1404
+ "character": 3
1405
+ },
1406
+ "doc": {
1407
+ "__schema": "DocSchema",
1408
+ "location": {
1409
+ "filePath": "linter.ts",
1410
+ "line": 16,
1411
+ "character": 3
1412
+ },
1413
+ "raw": "/**\n * total errors count of the component (from all of the files).\n */",
1414
+ "comment": "total errors count of the component (from all of the files)."
1415
+ },
1416
+ "signature": "(property) totalErrorCount: number",
1417
+ "name": "totalErrorCount",
1418
+ "type": {
1419
+ "__schema": "KeywordTypeSchema",
1420
+ "location": {
1421
+ "filePath": "linter.ts",
1422
+ "line": 19,
1423
+ "character": 20
1424
+ },
1425
+ "name": "number"
1426
+ },
1427
+ "isOptional": false
1428
+ },
1429
+ {
1430
+ "__schema": "VariableLikeSchema",
1431
+ "location": {
1432
+ "filePath": "linter.ts",
1433
+ "line": 23,
1434
+ "character": 3
1435
+ },
1436
+ "doc": {
1437
+ "__schema": "DocSchema",
1438
+ "location": {
1439
+ "filePath": "linter.ts",
1440
+ "line": 20,
1441
+ "character": 3
1442
+ },
1443
+ "raw": "/**\n * total fatal errors count of the component (from all of the files).\n */",
1444
+ "comment": "total fatal errors count of the component (from all of the files)."
1445
+ },
1446
+ "signature": "(property) totalFatalErrorCount?: number | undefined",
1447
+ "name": "totalFatalErrorCount",
1448
+ "type": {
1449
+ "__schema": "KeywordTypeSchema",
1450
+ "location": {
1451
+ "filePath": "linter.ts",
1452
+ "line": 23,
1453
+ "character": 26
1454
+ },
1455
+ "name": "number"
1456
+ },
1457
+ "isOptional": true
1458
+ },
1459
+ {
1460
+ "__schema": "VariableLikeSchema",
1461
+ "location": {
1462
+ "filePath": "linter.ts",
1463
+ "line": 27,
1464
+ "character": 3
1465
+ },
1466
+ "doc": {
1467
+ "__schema": "DocSchema",
1468
+ "location": {
1469
+ "filePath": "linter.ts",
1470
+ "line": 24,
1471
+ "character": 3
1472
+ },
1473
+ "raw": "/**\n * total fixable errors count of the component (from all of the files).\n */",
1474
+ "comment": "total fixable errors count of the component (from all of the files)."
1475
+ },
1476
+ "signature": "(property) totalFixableErrorCount?: number | undefined",
1477
+ "name": "totalFixableErrorCount",
1478
+ "type": {
1479
+ "__schema": "KeywordTypeSchema",
1480
+ "location": {
1481
+ "filePath": "linter.ts",
1482
+ "line": 27,
1483
+ "character": 28
1484
+ },
1485
+ "name": "number"
1486
+ },
1487
+ "isOptional": true
1488
+ },
1489
+ {
1490
+ "__schema": "VariableLikeSchema",
1491
+ "location": {
1492
+ "filePath": "linter.ts",
1493
+ "line": 31,
1494
+ "character": 3
1495
+ },
1496
+ "doc": {
1497
+ "__schema": "DocSchema",
1498
+ "location": {
1499
+ "filePath": "linter.ts",
1500
+ "line": 28,
1501
+ "character": 3
1502
+ },
1503
+ "raw": "/**\n * total fatal warning count of the component (from all of the files).\n */",
1504
+ "comment": "total fatal warning count of the component (from all of the files)."
1505
+ },
1506
+ "signature": "(property) totalFixableWarningCount?: number | undefined",
1507
+ "name": "totalFixableWarningCount",
1508
+ "type": {
1509
+ "__schema": "KeywordTypeSchema",
1510
+ "location": {
1511
+ "filePath": "linter.ts",
1512
+ "line": 31,
1513
+ "character": 30
1514
+ },
1515
+ "name": "number"
1516
+ },
1517
+ "isOptional": true
1518
+ },
1519
+ {
1520
+ "__schema": "VariableLikeSchema",
1521
+ "location": {
1522
+ "filePath": "linter.ts",
1523
+ "line": 35,
1524
+ "character": 3
1525
+ },
1526
+ "doc": {
1527
+ "__schema": "DocSchema",
1528
+ "location": {
1529
+ "filePath": "linter.ts",
1530
+ "line": 32,
1531
+ "character": 3
1532
+ },
1533
+ "raw": "/**\n * total warning count of the component (from all of the files).\n */",
1534
+ "comment": "total warning count of the component (from all of the files)."
1535
+ },
1536
+ "signature": "(property) totalWarningCount: number",
1537
+ "name": "totalWarningCount",
1538
+ "type": {
1539
+ "__schema": "KeywordTypeSchema",
1540
+ "location": {
1541
+ "filePath": "linter.ts",
1542
+ "line": 35,
1543
+ "character": 22
1544
+ },
1545
+ "name": "number"
1546
+ },
1547
+ "isOptional": false
1548
+ },
1549
+ {
1550
+ "__schema": "VariableLikeSchema",
1551
+ "location": {
1552
+ "filePath": "linter.ts",
1553
+ "line": 40,
1554
+ "character": 3
1555
+ },
1556
+ "doc": {
1557
+ "__schema": "DocSchema",
1558
+ "location": {
1559
+ "filePath": "linter.ts",
1560
+ "line": 37,
1561
+ "character": 3
1562
+ },
1563
+ "raw": "/**\n * lint results for each one of the component files\n */",
1564
+ "comment": "lint results for each one of the component files"
1565
+ },
1566
+ "signature": "(property) results: LintResult[]",
1567
+ "name": "results",
1568
+ "type": {
1569
+ "__schema": "TypeArraySchema",
1570
+ "location": {
1571
+ "filePath": "linter.ts",
1572
+ "line": 40,
1573
+ "character": 12
1574
+ },
1575
+ "type": {
1576
+ "__schema": "TypeRefSchema",
1577
+ "location": {
1578
+ "filePath": "linter.ts",
1579
+ "line": 40,
1580
+ "character": 12
1581
+ },
1582
+ "name": "LintResult"
1583
+ }
1584
+ },
1585
+ "isOptional": false
1586
+ }
1587
+ ]
1588
+ }
1589
+ },
1590
+ {
1591
+ "__schema": "ClassSchema",
1592
+ "location": {
1593
+ "filePath": "lint.task.ts",
1594
+ "line": 8,
1595
+ "character": 1
1596
+ },
1597
+ "signature": "class LintTask",
1598
+ "name": "LintTask",
1599
+ "members": [
1600
+ {
1601
+ "__schema": "ConstructorSchema",
1602
+ "location": {
1603
+ "filePath": "lint.task.ts",
1604
+ "line": 9,
1605
+ "character": 3
1606
+ },
1607
+ "signature": "constructor LintTask(aspectId: string, name?: string): LintTask",
1608
+ "name": "constructor",
1609
+ "params": [
1610
+ {
1611
+ "__schema": "ParameterSchema",
1612
+ "location": {
1613
+ "filePath": "lint.task.ts",
1614
+ "line": 9,
1615
+ "character": 15
1616
+ },
1617
+ "name": "aspectId",
1618
+ "type": {
1619
+ "__schema": "KeywordTypeSchema",
1620
+ "location": {
1621
+ "filePath": "lint.task.ts",
1622
+ "line": 9,
1623
+ "character": 34
1624
+ },
1625
+ "name": "string"
1626
+ },
1627
+ "isOptional": false,
1628
+ "isSpread": false
1629
+ },
1630
+ {
1631
+ "__schema": "ParameterSchema",
1632
+ "location": {
1633
+ "filePath": "lint.task.ts",
1634
+ "line": 9,
1635
+ "character": 42
1636
+ },
1637
+ "name": "name",
1638
+ "type": {
1639
+ "__schema": "InferenceTypeSchema",
1640
+ "location": {
1641
+ "filePath": "lint.task.ts",
1642
+ "line": 9,
1643
+ "character": 42
1644
+ },
1645
+ "type": "string"
1646
+ },
1647
+ "isOptional": true,
1648
+ "defaultValue": "'lint'",
1649
+ "isSpread": false
1650
+ }
1651
+ ],
1652
+ "returnType": {
1653
+ "__schema": "ThisTypeSchema",
1654
+ "location": {
1655
+ "filePath": "lint.task.ts",
1656
+ "line": 8,
1657
+ "character": 1
1658
+ },
1659
+ "name": "LintTask"
1660
+ },
1661
+ "modifiers": []
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",
1675
+ "location": {
1676
+ "filePath": "lint.task.ts",
1677
+ "line": 11,
1678
+ "character": 17
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
+ }
1693
+ },
1694
+ "isOptional": false,
1695
+ "isSpread": false
1696
+ }
1697
+ ],
1698
+ "returnType": {
1699
+ "__schema": "TypeRefSchema",
1700
+ "location": {
1701
+ "filePath": "lint.task.ts",
1702
+ "line": 11,
1703
+ "character": 41
1704
+ },
1705
+ "name": "Promise",
1706
+ "typeArgs": [
1707
+ {
1708
+ "__schema": "TypeRefSchema",
1709
+ "location": {
1710
+ "filePath": "lint.task.ts",
1711
+ "line": 11,
1712
+ "character": 49
1713
+ },
1714
+ "name": "BuiltTaskResult",
1715
+ "componentId": {
1716
+ "scope": "teambit.pipelines",
1717
+ "name": "builder"
1718
+ }
1719
+ }
1720
+ ]
1721
+ },
1722
+ "modifiers": [
1723
+ "async"
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",
1740
+ "location": {
1741
+ "filePath": "lint.task.ts",
1742
+ "line": 8,
1743
+ "character": 34
1744
+ },
1745
+ "name": "BuildTask",
1746
+ "componentId": {
1747
+ "_legacy": {
1748
+ "scope": "teambit.defender",
1749
+ "name": "linter",
1750
+ "version": "1.0.190"
1751
+ },
1752
+ "_scope": "teambit.defender"
1753
+ }
1754
+ }
1755
+ }
1756
+ ]
1757
+ },
1758
+ {
1759
+ "__schema": "InterfaceSchema",
1760
+ "location": {
1761
+ "filePath": "linter-context.ts",
1762
+ "line": 23,
1763
+ "character": 1
1764
+ },
1765
+ "signature": "interface LinterContext",
1766
+ "name": "LinterContext",
1767
+ "members": [
1768
+ {
1769
+ "__schema": "VariableLikeSchema",
1770
+ "location": {
1771
+ "filePath": "linter-context.ts",
1772
+ "line": 24,
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
1787
+ },
1788
+ {
1789
+ "__schema": "VariableLikeSchema",
1790
+ "location": {
1791
+ "filePath": "linter-context.ts",
1792
+ "line": 29,
1793
+ "character": 3
1794
+ },
1795
+ "doc": {
1796
+ "__schema": "DocSchema",
1797
+ "location": {
1798
+ "filePath": "linter-context.ts",
1799
+ "line": 25,
1800
+ "character": 3
1801
+ },
1802
+ "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 */",
1803
+ "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"
1804
+ },
1805
+ "signature": "(property) LinterContext.rootDir?: string | undefined",
1806
+ "name": "rootDir",
1807
+ "type": {
1808
+ "__schema": "KeywordTypeSchema",
1809
+ "location": {
1810
+ "filePath": "linter-context.ts",
1811
+ "line": 29,
1812
+ "character": 13
1813
+ },
1814
+ "name": "string"
1815
+ },
1816
+ "isOptional": true
1817
+ },
1818
+ {
1819
+ "__schema": "VariableLikeSchema",
1820
+ "location": {
1821
+ "filePath": "linter-context.ts",
1822
+ "line": 34,
1823
+ "character": 3
1824
+ },
1825
+ "doc": {
1826
+ "__schema": "DocSchema",
1827
+ "location": {
1828
+ "filePath": "linter-context.ts",
1829
+ "line": 31,
1830
+ "character": 3
1831
+ },
1832
+ "raw": "/**\n * Component map with the path to the component in the fs\n */",
1833
+ "comment": "Component map with the path to the component in the fs"
1834
+ },
1835
+ "signature": "(property) LinterContext.componentsDirMap: ComponentMap<string>",
1836
+ "name": "componentsDirMap",
1837
+ "type": {
1838
+ "__schema": "TypeRefSchema",
1839
+ "location": {
1840
+ "filePath": "linter-context.ts",
1841
+ "line": 34,
1842
+ "character": 21
1843
+ },
1844
+ "name": "ComponentMap",
1845
+ "componentId": {
1846
+ "scope": "teambit.component",
1847
+ "name": "component"
1848
+ },
1849
+ "typeArgs": [
1850
+ {
1851
+ "__schema": "KeywordTypeSchema",
1852
+ "location": {
1853
+ "filePath": "linter-context.ts",
1854
+ "line": 34,
1855
+ "character": 34
1856
+ },
1857
+ "name": "string"
1858
+ }
1859
+ ]
1860
+ },
1861
+ "isOptional": false
1862
+ }
1863
+ ],
1864
+ "extendsNodes": [
1865
+ {
1866
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1867
+ "location": {
1868
+ "filePath": "linter-context.ts",
1869
+ "line": 23,
1870
+ "character": 40
1871
+ },
1872
+ "name": "extends ExecutionContext, LinterOptions",
1873
+ "typeArgs": [],
1874
+ "expression": {
1875
+ "__schema": "TypeRefSchema",
1876
+ "location": {
1877
+ "filePath": "linter-context.ts",
1878
+ "line": 23,
1879
+ "character": 40
1880
+ },
1881
+ "name": "ExecutionContext",
1882
+ "componentId": {
1883
+ "_legacy": {
1884
+ "scope": "teambit.defender",
1885
+ "name": "linter",
1886
+ "version": "1.0.190"
1887
+ },
1888
+ "_scope": "teambit.defender"
1889
+ }
1890
+ }
1891
+ },
1892
+ {
1893
+ "__schema": "ExpressionWithTypeArgumentsSchema",
1894
+ "location": {
1895
+ "filePath": "linter-context.ts",
1896
+ "line": 23,
1897
+ "character": 58
1898
+ },
1899
+ "name": "extends ExecutionContext, LinterOptions",
1900
+ "typeArgs": [],
1901
+ "expression": {
1902
+ "__schema": "InterfaceSchema",
1903
+ "location": {
1904
+ "filePath": "linter-context.ts",
1905
+ "line": 7,
1906
+ "character": 1
1907
+ },
1908
+ "name": "LinterOptions",
1909
+ "signature": "interface LinterOptions",
1910
+ "extendsNodes": [],
1911
+ "members": [
1912
+ {
1913
+ "__schema": "VariableLikeSchema",
1914
+ "location": {
1915
+ "filePath": "linter-context.ts",
1916
+ "line": 11,
1917
+ "character": 3
1918
+ },
1919
+ "name": "extensionFormats",
1920
+ "signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
1921
+ "isOptional": true,
1922
+ "type": {
1923
+ "__schema": "TypeArraySchema",
1924
+ "location": {
1925
+ "filePath": "linter-context.ts",
1926
+ "line": 11,
1927
+ "character": 22
1928
+ },
1929
+ "type": {
1930
+ "__schema": "KeywordTypeSchema",
1931
+ "location": {
1932
+ "filePath": "linter-context.ts",
1933
+ "line": 11,
1934
+ "character": 22
1935
+ },
1936
+ "name": "string"
1937
+ }
1938
+ },
1939
+ "doc": {
1940
+ "__schema": "DocSchema",
1941
+ "location": {
1942
+ "filePath": "linter-context.ts",
1943
+ "line": 8,
1944
+ "character": 3
1945
+ },
1946
+ "raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
1947
+ "comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
1948
+ }
1949
+ },
1950
+ {
1951
+ "__schema": "VariableLikeSchema",
1952
+ "location": {
1953
+ "filePath": "linter-context.ts",
1954
+ "line": 16,
1955
+ "character": 3
1956
+ },
1957
+ "name": "fix",
1958
+ "signature": "(property) LinterOptions.fix?: boolean | undefined",
1959
+ "isOptional": true,
1960
+ "type": {
1961
+ "__schema": "KeywordTypeSchema",
1962
+ "location": {
1963
+ "filePath": "linter-context.ts",
1964
+ "line": 16,
1965
+ "character": 9
1966
+ },
1967
+ "name": "boolean"
1968
+ },
1969
+ "doc": {
1970
+ "__schema": "DocSchema",
1971
+ "location": {
1972
+ "filePath": "linter-context.ts",
1973
+ "line": 13,
1974
+ "character": 3
1975
+ },
1976
+ "raw": "/**\n * automatically fix problems\n */",
1977
+ "comment": "automatically fix problems"
1978
+ }
1979
+ },
1980
+ {
1981
+ "__schema": "VariableLikeSchema",
1982
+ "location": {
1983
+ "filePath": "linter-context.ts",
1984
+ "line": 21,
1985
+ "character": 3
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
1996
+ },
1997
+ "name": "FixTypes",
1998
+ "internalFilePath": "linter-context.ts"
1999
+ },
2000
+ "doc": {
2001
+ "__schema": "DocSchema",
2002
+ "location": {
2003
+ "filePath": "linter-context.ts",
2004
+ "line": 18,
2005
+ "character": 3
2006
+ },
2007
+ "raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
2008
+ "comment": "specify the types of fixes to apply (problem, suggestion, layout)"
2009
+ }
2010
+ }
2011
+ ]
2012
+ }
2013
+ }
2014
+ ]
2015
+ },
2016
+ {
2017
+ "__schema": "InterfaceSchema",
2018
+ "location": {
2019
+ "filePath": "linter-context.ts",
2020
+ "line": 7,
2021
+ "character": 1
2022
+ },
2023
+ "signature": "interface LinterOptions",
2024
+ "name": "LinterOptions",
2025
+ "members": [
2026
+ {
2027
+ "__schema": "VariableLikeSchema",
2028
+ "location": {
2029
+ "filePath": "linter-context.ts",
2030
+ "line": 11,
2031
+ "character": 3
2032
+ },
2033
+ "doc": {
2034
+ "__schema": "DocSchema",
2035
+ "location": {
2036
+ "filePath": "linter-context.ts",
2037
+ "line": 8,
2038
+ "character": 3
2039
+ },
2040
+ "raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
2041
+ "comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
2042
+ },
2043
+ "signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
2044
+ "name": "extensionFormats",
2045
+ "type": {
2046
+ "__schema": "TypeArraySchema",
2047
+ "location": {
2048
+ "filePath": "linter-context.ts",
2049
+ "line": 11,
2050
+ "character": 22
2051
+ },
2052
+ "type": {
2053
+ "__schema": "KeywordTypeSchema",
2054
+ "location": {
2055
+ "filePath": "linter-context.ts",
2056
+ "line": 11,
2057
+ "character": 22
2058
+ },
2059
+ "name": "string"
2060
+ }
2061
+ },
2062
+ "isOptional": true
2063
+ },
2064
+ {
2065
+ "__schema": "VariableLikeSchema",
2066
+ "location": {
2067
+ "filePath": "linter-context.ts",
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
2077
+ },
2078
+ "raw": "/**\n * automatically fix problems\n */",
2079
+ "comment": "automatically fix problems"
2080
+ },
2081
+ "signature": "(property) LinterOptions.fix?: boolean | undefined",
2082
+ "name": "fix",
2083
+ "type": {
2084
+ "__schema": "KeywordTypeSchema",
2085
+ "location": {
2086
+ "filePath": "linter-context.ts",
2087
+ "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
+ "character": 3
2107
+ },
2108
+ "raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
2109
+ "comment": "specify the types of fixes to apply (problem, suggestion, layout)"
2110
+ },
2111
+ "signature": "(property) LinterOptions.fixTypes?: FixTypes | undefined",
2112
+ "name": "fixTypes",
2113
+ "type": {
2114
+ "__schema": "TypeRefSchema",
2115
+ "location": {
2116
+ "filePath": "linter-context.ts",
2117
+ "line": 21,
2118
+ "character": 14
2119
+ },
2120
+ "name": "FixTypes",
2121
+ "internalFilePath": "linter-context.ts"
2122
+ },
2123
+ "isOptional": true
2124
+ }
2125
+ ],
2126
+ "extendsNodes": []
2127
+ },
2128
+ {
2129
+ "__schema": "InterfaceSchema",
2130
+ "location": {
2131
+ "filePath": "linter-env-type.ts",
2132
+ "line": 4,
2133
+ "character": 1
2134
+ },
2135
+ "signature": "interface LinterEnv",
2136
+ "name": "LinterEnv",
2137
+ "members": [
2138
+ {
2139
+ "__schema": "FunctionLikeSchema",
2140
+ "location": {
2141
+ "filePath": "linter-env-type.ts",
2142
+ "line": 8,
2143
+ "character": 3
2144
+ },
2145
+ "doc": {
2146
+ "__schema": "DocSchema",
2147
+ "location": {
2148
+ "filePath": "linter-env-type.ts",
2149
+ "line": 5,
2150
+ "character": 3
2151
+ },
2152
+ "raw": "/**\n * return a Linter instance.\n */",
2153
+ "comment": "return a Linter instance."
2154
+ },
2155
+ "signature": "(method) LinterEnv.linter(): EnvHandler<Linter>",
2156
+ "name": "linter",
2157
+ "params": [],
2158
+ "returnType": {
2159
+ "__schema": "TypeRefSchema",
2160
+ "location": {
2161
+ "filePath": "linter-env-type.ts",
2162
+ "line": 8,
2163
+ "character": 13
2164
+ },
2165
+ "name": "EnvHandler",
2166
+ "componentId": {
2167
+ "scope": "teambit.envs",
2168
+ "name": "envs"
2169
+ },
2170
+ "typeArgs": [
2171
+ {
2172
+ "__schema": "TypeRefSchema",
2173
+ "location": {
2174
+ "filePath": "linter-env-type.ts",
2175
+ "line": 8,
2176
+ "character": 24
2177
+ },
2178
+ "name": "Linter"
2179
+ }
2180
+ ]
2181
+ },
2182
+ "modifiers": []
2183
+ }
2184
+ ],
2185
+ "extendsNodes": []
2186
+ },
2187
+ {
2188
+ "__schema": "UnImplementedSchema",
2189
+ "location": {
2190
+ "filePath": "index.ts",
2191
+ "line": 9,
2192
+ "character": 16
2193
+ },
2194
+ "name": "LinterAspect",
2195
+ "type": "Identifier"
2196
+ }
2197
+ ],
2198
+ "internals": []
2199
+ },
2200
+ "internals": [
2201
+ {
2202
+ "__schema": "ModuleSchema",
2203
+ "location": {
2204
+ "filePath": "linter.aspect.ts",
2205
+ "line": 1,
2206
+ "character": 1
2207
+ },
2208
+ "exports": [
2209
+ {
2210
+ "__schema": "VariableLikeSchema",
2211
+ "location": {
2212
+ "filePath": "linter.aspect.ts",
2213
+ "line": 3,
2214
+ "character": 14
2215
+ },
2216
+ "signature": "const LinterAspect: Aspect",
2217
+ "name": "LinterAspect",
2218
+ "type": {
2219
+ "__schema": "TypeRefSchema",
2220
+ "location": {
2221
+ "filePath": "linter.aspect.ts",
2222
+ "line": 3,
2223
+ "character": 14
2224
+ },
2225
+ "name": "Aspect",
2226
+ "componentId": {
2227
+ "scope": "teambit.harmony",
2228
+ "name": "harmony",
2229
+ "version": "0.4.6"
2230
+ }
2231
+ },
2232
+ "isOptional": false,
2233
+ "defaultValue": "Aspect.create({\n id: 'teambit.defender/linter',\n})"
2234
+ }
2235
+ ],
2236
+ "internals": []
2237
+ },
2238
+ {
2239
+ "__schema": "ModuleSchema",
2240
+ "location": {
2241
+ "filePath": "linter.main.runtime.ts",
2242
+ "line": 1,
2243
+ "character": 1
2244
+ },
2245
+ "exports": [
2246
+ {
2247
+ "__schema": "TypeSchema",
2248
+ "location": {
2249
+ "filePath": "linter.main.runtime.ts",
2250
+ "line": 13,
2251
+ "character": 1
2252
+ },
2253
+ "signature": "type LinterConfig = {\n extensionFormats: string[];\n fixTypes?: FixTypes | undefined;\n}",
2254
+ "name": "LinterConfig",
2255
+ "type": {
2256
+ "__schema": "TypeLiteralSchema",
2257
+ "location": {
2258
+ "filePath": "linter.main.runtime.ts",
2259
+ "line": 13,
2260
+ "character": 28
2261
+ },
2262
+ "members": [
2263
+ {
2264
+ "__schema": "VariableLikeSchema",
2265
+ "location": {
2266
+ "filePath": "linter.main.runtime.ts",
2267
+ "line": 17,
2268
+ "character": 3
2269
+ },
2270
+ "doc": {
2271
+ "__schema": "DocSchema",
2272
+ "location": {
2273
+ "filePath": "linter.main.runtime.ts",
2274
+ "line": 14,
2275
+ "character": 3
2276
+ },
2277
+ "raw": "/**\n * extension formats to lint.\n */",
2278
+ "comment": "extension formats to lint."
2279
+ },
2280
+ "signature": "(property) extensionFormats: string[]",
2281
+ "name": "extensionFormats",
2282
+ "type": {
2283
+ "__schema": "TypeArraySchema",
2284
+ "location": {
2285
+ "filePath": "linter.main.runtime.ts",
2286
+ "line": 17,
2287
+ "character": 21
2288
+ },
2289
+ "type": {
2290
+ "__schema": "KeywordTypeSchema",
2291
+ "location": {
2292
+ "filePath": "linter.main.runtime.ts",
2293
+ "line": 17,
2294
+ "character": 21
2295
+ },
2296
+ "name": "string"
2297
+ }
2298
+ },
2299
+ "isOptional": false
2300
+ },
2301
+ {
2302
+ "__schema": "VariableLikeSchema",
2303
+ "location": {
2304
+ "filePath": "linter.main.runtime.ts",
2305
+ "line": 18,
2306
+ "character": 3
2307
+ },
2308
+ "signature": "(property) fixTypes?: FixTypes | undefined",
2309
+ "name": "fixTypes",
2310
+ "type": {
2311
+ "__schema": "TypeRefSchema",
2312
+ "location": {
2313
+ "filePath": "linter.main.runtime.ts",
2314
+ "line": 18,
2315
+ "character": 14
2316
+ },
2317
+ "name": "FixTypes",
2318
+ "internalFilePath": "linter-context.ts"
2319
+ },
2320
+ "isOptional": true
2321
+ }
2322
+ ]
2323
+ }
2324
+ },
2325
+ {
2326
+ "__schema": "ClassSchema",
2327
+ "location": {
2328
+ "filePath": "linter.main.runtime.ts",
2329
+ "line": 21,
2330
+ "character": 1
2331
+ },
2332
+ "signature": "class LinterMain",
2333
+ "name": "LinterMain",
2334
+ "members": [
2335
+ {
2336
+ "__schema": "VariableLikeSchema",
2337
+ "location": {
2338
+ "filePath": "linter.main.runtime.ts",
2339
+ "line": 22,
2340
+ "character": 3
2341
+ },
2342
+ "signature": "(property) LinterMain.runtime: RuntimeDefinition",
2343
+ "name": "runtime",
2344
+ "type": {
2345
+ "__schema": "InferenceTypeSchema",
2346
+ "location": {
2347
+ "filePath": "linter.main.runtime.ts",
2348
+ "line": 22,
2349
+ "character": 3
2350
+ },
2351
+ "type": "RuntimeDefinition"
2352
+ },
2353
+ "isOptional": true,
2354
+ "defaultValue": "MainRuntime"
2355
+ },
2356
+ {
2357
+ "__schema": "ConstructorSchema",
2358
+ "location": {
2359
+ "filePath": "linter.main.runtime.ts",
2360
+ "line": 24,
2361
+ "character": 3
2362
+ },
2363
+ "signature": "constructor LinterMain(envs: EnvsMain, linterService: LinterService): LinterMain",
2364
+ "name": "constructor",
2365
+ "params": [
2366
+ {
2367
+ "__schema": "ParameterSchema",
2368
+ "location": {
2369
+ "filePath": "linter.main.runtime.ts",
2370
+ "line": 24,
2371
+ "character": 15
2372
+ },
2373
+ "name": "envs",
2374
+ "type": {
2375
+ "__schema": "TypeRefSchema",
2376
+ "location": {
2377
+ "filePath": "linter.main.runtime.ts",
2378
+ "line": 24,
2379
+ "character": 29
2380
+ },
2381
+ "name": "EnvsMain",
2382
+ "componentId": {
2383
+ "scope": "teambit.envs",
2384
+ "name": "envs"
2385
+ }
2386
+ },
2387
+ "isOptional": false,
2388
+ "isSpread": false
2389
+ },
2390
+ {
2391
+ "__schema": "ParameterSchema",
2392
+ "location": {
2393
+ "filePath": "linter.main.runtime.ts",
2394
+ "line": 24,
2395
+ "character": 39
2396
+ },
2397
+ "name": "linterService",
2398
+ "type": {
2399
+ "__schema": "TypeRefSchema",
2400
+ "location": {
2401
+ "filePath": "linter.main.runtime.ts",
2402
+ "line": 24,
2403
+ "character": 62
2404
+ },
2405
+ "name": "LinterService",
2406
+ "internalFilePath": "linter.service.ts"
2407
+ },
2408
+ "isOptional": false,
2409
+ "isSpread": false
2410
+ }
2411
+ ],
2412
+ "returnType": {
2413
+ "__schema": "ThisTypeSchema",
2414
+ "location": {
2415
+ "filePath": "linter.main.runtime.ts",
2416
+ "line": 21,
2417
+ "character": 1
2418
+ },
2419
+ "name": "LinterMain"
2420
+ },
2421
+ "modifiers": []
2422
+ },
2423
+ {
2424
+ "__schema": "FunctionLikeSchema",
2425
+ "location": {
2426
+ "filePath": "linter.main.runtime.ts",
2427
+ "line": 29,
2428
+ "character": 3
2429
+ },
2430
+ "doc": {
2431
+ "__schema": "DocSchema",
2432
+ "location": {
2433
+ "filePath": "linter.main.runtime.ts",
2434
+ "line": 26,
2435
+ "character": 3
2436
+ },
2437
+ "raw": "/**\n * lint an array of components.\n */",
2438
+ "comment": "lint an array of components."
2439
+ },
2440
+ "signature": "(method) LinterMain.lint(components: Component[], opts: LinterOptions): Promise<EnvsExecutionResult<LintResults>>",
2441
+ "name": "lint",
2442
+ "params": [
2443
+ {
2444
+ "__schema": "ParameterSchema",
2445
+ "location": {
2446
+ "filePath": "linter.main.runtime.ts",
2447
+ "line": 29,
2448
+ "character": 14
2449
+ },
2450
+ "name": "components",
2451
+ "type": {
2452
+ "__schema": "TypeArraySchema",
2453
+ "location": {
2454
+ "filePath": "linter.main.runtime.ts",
2455
+ "line": 29,
2456
+ "character": 26
2457
+ },
2458
+ "type": {
2459
+ "__schema": "TypeRefSchema",
2460
+ "location": {
2461
+ "filePath": "linter.main.runtime.ts",
2462
+ "line": 29,
2463
+ "character": 26
2464
+ },
2465
+ "name": "Component",
2466
+ "componentId": {
2467
+ "scope": "teambit.component",
2468
+ "name": "component"
2469
+ }
2470
+ }
2471
+ },
2472
+ "isOptional": false,
2473
+ "isSpread": false
2474
+ },
2475
+ {
2476
+ "__schema": "ParameterSchema",
2477
+ "location": {
2478
+ "filePath": "linter.main.runtime.ts",
2479
+ "line": 29,
2480
+ "character": 39
2481
+ },
2482
+ "name": "opts",
2483
+ "type": {
2484
+ "__schema": "TypeRefSchema",
2485
+ "location": {
2486
+ "filePath": "linter.main.runtime.ts",
2487
+ "line": 29,
2488
+ "character": 45
2489
+ },
2490
+ "name": "LinterOptions"
2491
+ },
2492
+ "isOptional": false,
2493
+ "isSpread": false
2494
+ }
2495
+ ],
2496
+ "returnType": {
2497
+ "__schema": "InferenceTypeSchema",
2498
+ "location": {
2499
+ "filePath": "linter.main.runtime.ts",
2500
+ "line": 29,
2501
+ "character": 3
2502
+ },
2503
+ "type": "Promise<EnvsExecutionResult<LintResults>>"
2504
+ },
2505
+ "modifiers": [
2506
+ "async"
2507
+ ]
2508
+ },
2509
+ {
2510
+ "__schema": "FunctionLikeSchema",
2511
+ "location": {
2512
+ "filePath": "linter.main.runtime.ts",
2513
+ "line": 35,
2514
+ "character": 3
2515
+ },
2516
+ "signature": "(method) LinterMain.getLinter(context: ExecutionContext, options: LinterOptions): Linter",
2517
+ "name": "getLinter",
2518
+ "params": [
2519
+ {
2520
+ "__schema": "ParameterSchema",
2521
+ "location": {
2522
+ "filePath": "linter.main.runtime.ts",
2523
+ "line": 35,
2524
+ "character": 13
2525
+ },
2526
+ "name": "context",
2527
+ "type": {
2528
+ "__schema": "TypeRefSchema",
2529
+ "location": {
2530
+ "filePath": "linter.main.runtime.ts",
2531
+ "line": 35,
2532
+ "character": 22
2533
+ },
2534
+ "name": "ExecutionContext",
2535
+ "componentId": {
2536
+ "scope": "teambit.envs",
2537
+ "name": "envs"
2538
+ }
2539
+ },
2540
+ "isOptional": false,
2541
+ "isSpread": false
2542
+ },
2543
+ {
2544
+ "__schema": "ParameterSchema",
2545
+ "location": {
2546
+ "filePath": "linter.main.runtime.ts",
2547
+ "line": 35,
2548
+ "character": 40
2549
+ },
2550
+ "name": "options",
2551
+ "type": {
2552
+ "__schema": "TypeRefSchema",
2553
+ "location": {
2554
+ "filePath": "linter.main.runtime.ts",
2555
+ "line": 35,
2556
+ "character": 49
2557
+ },
2558
+ "name": "LinterOptions"
2559
+ },
2560
+ "isOptional": false,
2561
+ "isSpread": false
2562
+ }
2563
+ ],
2564
+ "returnType": {
2565
+ "__schema": "TypeRefSchema",
2566
+ "location": {
2567
+ "filePath": "linter.main.runtime.ts",
2568
+ "line": 35,
2569
+ "character": 3
2570
+ },
2571
+ "name": "Linter"
2572
+ },
2573
+ "modifiers": []
2574
+ },
2575
+ {
2576
+ "__schema": "FunctionLikeSchema",
2577
+ "location": {
2578
+ "filePath": "linter.main.runtime.ts",
2579
+ "line": 43,
2580
+ "character": 3
2581
+ },
2582
+ "doc": {
2583
+ "__schema": "DocSchema",
2584
+ "location": {
2585
+ "filePath": "linter.main.runtime.ts",
2586
+ "line": 39,
2587
+ "character": 3
2588
+ },
2589
+ "raw": "/**\n * create a lint task for build pipelines.\n * @param name name of the task.\n */",
2590
+ "comment": "create a lint task for build pipelines.",
2591
+ "tags": [
2592
+ {
2593
+ "__schema": "PropertyLikeTagSchema",
2594
+ "location": {
2595
+ "filePath": "linter.main.runtime.ts",
2596
+ "line": 41,
2597
+ "character": 6
2598
+ },
2599
+ "name": "name",
2600
+ "tagName": "parameter",
2601
+ "comment": "name of the task."
2602
+ }
2603
+ ]
2604
+ },
2605
+ "signature": "(method) LinterMain.createTask(name?: string): LintTask",
2606
+ "name": "createTask",
2607
+ "params": [
2608
+ {
2609
+ "__schema": "ParameterSchema",
2610
+ "location": {
2611
+ "filePath": "linter.main.runtime.ts",
2612
+ "line": 43,
2613
+ "character": 14
2614
+ },
2615
+ "name": "name",
2616
+ "type": {
2617
+ "__schema": "KeywordTypeSchema",
2618
+ "location": {
2619
+ "filePath": "linter.main.runtime.ts",
2620
+ "line": 43,
2621
+ "character": 21
2622
+ },
2623
+ "name": "string"
2624
+ },
2625
+ "isOptional": true,
2626
+ "isSpread": false
2627
+ }
2628
+ ],
2629
+ "returnType": {
2630
+ "__schema": "TypeRefSchema",
2631
+ "location": {
2632
+ "filePath": "linter.main.runtime.ts",
2633
+ "line": 43,
2634
+ "character": 3
2635
+ },
2636
+ "name": "LintTask"
2637
+ },
2638
+ "modifiers": []
2639
+ },
2640
+ {
2641
+ "__schema": "VariableLikeSchema",
2642
+ "location": {
2643
+ "filePath": "linter.main.runtime.ts",
2644
+ "line": 47,
2645
+ "character": 3
2646
+ },
2647
+ "signature": "(property) LinterMain.dependencies: Aspect[]",
2648
+ "name": "dependencies",
2649
+ "type": {
2650
+ "__schema": "InferenceTypeSchema",
2651
+ "location": {
2652
+ "filePath": "linter.main.runtime.ts",
2653
+ "line": 47,
2654
+ "character": 3
2655
+ },
2656
+ "type": "Aspect[]"
2657
+ },
2658
+ "isOptional": true,
2659
+ "defaultValue": "[EnvsAspect, CLIAspect, ComponentAspect, LoggerAspect, WorkspaceAspect]"
2660
+ },
2661
+ {
2662
+ "__schema": "VariableLikeSchema",
2663
+ "location": {
2664
+ "filePath": "linter.main.runtime.ts",
2665
+ "line": 49,
2666
+ "character": 3
2667
+ },
2668
+ "signature": "(property) LinterMain.defaultConfig: LinterConfig",
2669
+ "name": "defaultConfig",
2670
+ "type": {
2671
+ "__schema": "TypeRefSchema",
2672
+ "location": {
2673
+ "filePath": "linter.main.runtime.ts",
2674
+ "line": 49,
2675
+ "character": 3
2676
+ },
2677
+ "name": "LinterConfig"
2678
+ },
2679
+ "isOptional": true,
2680
+ "defaultValue": "{\n extensionFormats: ['.ts', '.tsx', '.js', '.jsx', '.mjs'],\n fixTypes: ['layout', 'problem', 'suggestion'],\n }"
2681
+ },
2682
+ {
2683
+ "__schema": "FunctionLikeSchema",
2684
+ "location": {
2685
+ "filePath": "linter.main.runtime.ts",
2686
+ "line": 54,
2687
+ "character": 3
2688
+ },
2689
+ "signature": "(method) LinterMain.provider([envs, cli, component, loggerAspect, workspace]: [EnvsMain, CLIMain, ComponentMain, LoggerMain, Workspace], config: LinterConfig): Promise<LinterMain>",
2690
+ "name": "provider",
2691
+ "params": [
2692
+ {
2693
+ "__schema": "ParameterSchema",
2694
+ "location": {
2695
+ "filePath": "linter.main.runtime.ts",
2696
+ "line": 55,
2697
+ "character": 5
2698
+ },
2699
+ "name": "[ envs, cli, component, loggerAspect, workspace ]",
2700
+ "type": {
2701
+ "__schema": "TupleTypeSchema",
2702
+ "location": {
2703
+ "filePath": "linter.main.runtime.ts",
2704
+ "line": 55,
2705
+ "character": 54
2706
+ },
2707
+ "elements": [
2708
+ {
2709
+ "__schema": "TypeRefSchema",
2710
+ "location": {
2711
+ "filePath": "linter.main.runtime.ts",
2712
+ "line": 55,
2713
+ "character": 55
2714
+ },
2715
+ "name": "EnvsMain",
2716
+ "componentId": {
2717
+ "scope": "teambit.envs",
2718
+ "name": "envs"
2719
+ }
2720
+ },
2721
+ {
2722
+ "__schema": "TypeRefSchema",
2723
+ "location": {
2724
+ "filePath": "linter.main.runtime.ts",
2725
+ "line": 55,
2726
+ "character": 65
2727
+ },
2728
+ "name": "CLIMain",
2729
+ "componentId": {
2730
+ "scope": "teambit.harmony",
2731
+ "name": "cli"
2732
+ }
2733
+ },
2734
+ {
2735
+ "__schema": "TypeRefSchema",
2736
+ "location": {
2737
+ "filePath": "linter.main.runtime.ts",
2738
+ "line": 55,
2739
+ "character": 74
2740
+ },
2741
+ "name": "ComponentMain",
2742
+ "componentId": {
2743
+ "scope": "teambit.component",
2744
+ "name": "component"
2745
+ }
2746
+ },
2747
+ {
2748
+ "__schema": "TypeRefSchema",
2749
+ "location": {
2750
+ "filePath": "linter.main.runtime.ts",
2751
+ "line": 55,
2752
+ "character": 89
2753
+ },
2754
+ "name": "LoggerMain",
2755
+ "componentId": {
2756
+ "scope": "teambit.harmony",
2757
+ "name": "logger"
2758
+ }
2759
+ },
2760
+ {
2761
+ "__schema": "TypeRefSchema",
2762
+ "location": {
2763
+ "filePath": "linter.main.runtime.ts",
2764
+ "line": 55,
2765
+ "character": 101
2766
+ },
2767
+ "name": "Workspace",
2768
+ "componentId": {
2769
+ "scope": "teambit.workspace",
2770
+ "name": "workspace"
2771
+ }
2772
+ }
2773
+ ]
2774
+ },
2775
+ "isOptional": false,
2776
+ "isSpread": false
2777
+ },
2778
+ {
2779
+ "__schema": "ParameterSchema",
2780
+ "location": {
2781
+ "filePath": "linter.main.runtime.ts",
2782
+ "line": 56,
2783
+ "character": 5
2784
+ },
2785
+ "name": "config",
2786
+ "type": {
2787
+ "__schema": "TypeRefSchema",
2788
+ "location": {
2789
+ "filePath": "linter.main.runtime.ts",
2790
+ "line": 56,
2791
+ "character": 13
2792
+ },
2793
+ "name": "LinterConfig"
2794
+ },
2795
+ "isOptional": false,
2796
+ "isSpread": false
2797
+ }
2798
+ ],
2799
+ "returnType": {
2800
+ "__schema": "InferenceTypeSchema",
2801
+ "location": {
2802
+ "filePath": "linter.main.runtime.ts",
2803
+ "line": 54,
2804
+ "character": 3
2805
+ },
2806
+ "type": "Promise<LinterMain>"
2807
+ },
2808
+ "modifiers": [
2809
+ "static",
2810
+ "async"
2811
+ ]
2812
+ }
2813
+ ],
2814
+ "extendsNodes": [],
2815
+ "implementNodes": []
2816
+ }
2817
+ ],
2818
+ "internals": [
2819
+ {
2820
+ "__schema": "UnImplementedSchema",
2821
+ "location": {
2822
+ "filePath": "linter.main.runtime.ts",
2823
+ "line": 69,
2824
+ "character": 1
2825
+ },
2826
+ "name": "LinterAspect.addRuntime(LinterMain);",
2827
+ "type": "ExpressionStatement"
2828
+ }
2829
+ ]
2830
+ },
2831
+ {
2832
+ "__schema": "ModuleSchema",
2833
+ "location": {
2834
+ "filePath": "linter.ts",
2835
+ "line": 1,
2836
+ "character": 1
2837
+ },
2838
+ "exports": [
2839
+ {
2840
+ "__schema": "TypeSchema",
2841
+ "location": {
2842
+ "filePath": "linter.ts",
2843
+ "line": 5,
2844
+ "character": 1
2845
+ },
2846
+ "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}",
2847
+ "name": "ComponentLintResult",
2848
+ "type": {
2849
+ "__schema": "TypeLiteralSchema",
2850
+ "location": {
2851
+ "filePath": "linter.ts",
2852
+ "line": 5,
2853
+ "character": 35
2854
+ },
2855
+ "members": [
2856
+ {
2857
+ "__schema": "VariableLikeSchema",
2858
+ "location": {
2859
+ "filePath": "linter.ts",
2860
+ "line": 9,
2861
+ "character": 3
2862
+ },
2863
+ "doc": {
2864
+ "__schema": "DocSchema",
2865
+ "location": {
2866
+ "filePath": "linter.ts",
2867
+ "line": 6,
2868
+ "character": 3
2869
+ },
2870
+ "raw": "/**\n * the linted component.\n */",
2871
+ "comment": "the linted component."
2872
+ },
2873
+ "signature": "(property) component: Component",
2874
+ "name": "component",
2875
+ "type": {
2876
+ "__schema": "TypeRefSchema",
2877
+ "location": {
2878
+ "filePath": "linter.ts",
2879
+ "line": 9,
2880
+ "character": 3
2881
+ },
2882
+ "name": "Component",
2883
+ "componentId": {
2884
+ "scope": "teambit.component",
2885
+ "name": "component"
2886
+ }
2887
+ },
2888
+ "isOptional": false
2889
+ },
2890
+ {
2891
+ "__schema": "VariableLikeSchema",
2892
+ "location": {
2893
+ "filePath": "linter.ts",
2894
+ "line": 14,
2895
+ "character": 3
2896
+ },
2897
+ "doc": {
2898
+ "__schema": "DocSchema",
2899
+ "location": {
2900
+ "filePath": "linter.ts",
2901
+ "line": 11,
2902
+ "character": 3
2903
+ },
2904
+ "raw": "/**\n * CLI output of the linter.\n */",
2905
+ "comment": "CLI output of the linter."
2906
+ },
2907
+ "signature": "(property) output: string",
2908
+ "name": "output",
2909
+ "type": {
2910
+ "__schema": "KeywordTypeSchema",
2911
+ "location": {
2912
+ "filePath": "linter.ts",
2913
+ "line": 14,
2914
+ "character": 11
2915
+ },
2916
+ "name": "string"
2917
+ },
2918
+ "isOptional": false
2919
+ },
2920
+ {
2921
+ "__schema": "VariableLikeSchema",
2922
+ "location": {
2923
+ "filePath": "linter.ts",
2924
+ "line": 19,
2925
+ "character": 3
2926
+ },
2927
+ "doc": {
2928
+ "__schema": "DocSchema",
2929
+ "location": {
2930
+ "filePath": "linter.ts",
2931
+ "line": 16,
2932
+ "character": 3
2933
+ },
2934
+ "raw": "/**\n * total errors count of the component (from all of the files).\n */",
2935
+ "comment": "total errors count of the component (from all of the files)."
2936
+ },
2937
+ "signature": "(property) totalErrorCount: number",
2938
+ "name": "totalErrorCount",
2939
+ "type": {
2940
+ "__schema": "KeywordTypeSchema",
2941
+ "location": {
2942
+ "filePath": "linter.ts",
2943
+ "line": 19,
2944
+ "character": 20
2945
+ },
2946
+ "name": "number"
2947
+ },
2948
+ "isOptional": false
2949
+ },
2950
+ {
2951
+ "__schema": "VariableLikeSchema",
2952
+ "location": {
2953
+ "filePath": "linter.ts",
2954
+ "line": 23,
2955
+ "character": 3
2956
+ },
2957
+ "doc": {
2958
+ "__schema": "DocSchema",
2959
+ "location": {
2960
+ "filePath": "linter.ts",
2961
+ "line": 20,
2962
+ "character": 3
2963
+ },
2964
+ "raw": "/**\n * total fatal errors count of the component (from all of the files).\n */",
2965
+ "comment": "total fatal errors count of the component (from all of the files)."
2966
+ },
2967
+ "signature": "(property) totalFatalErrorCount?: number | undefined",
2968
+ "name": "totalFatalErrorCount",
2969
+ "type": {
2970
+ "__schema": "KeywordTypeSchema",
2971
+ "location": {
2972
+ "filePath": "linter.ts",
2973
+ "line": 23,
2974
+ "character": 26
2975
+ },
2976
+ "name": "number"
2977
+ },
2978
+ "isOptional": true
2979
+ },
2980
+ {
2981
+ "__schema": "VariableLikeSchema",
2982
+ "location": {
2983
+ "filePath": "linter.ts",
2984
+ "line": 27,
2985
+ "character": 3
2986
+ },
2987
+ "doc": {
2988
+ "__schema": "DocSchema",
2989
+ "location": {
2990
+ "filePath": "linter.ts",
2991
+ "line": 24,
2992
+ "character": 3
2993
+ },
2994
+ "raw": "/**\n * total fixable errors count of the component (from all of the files).\n */",
2995
+ "comment": "total fixable errors count of the component (from all of the files)."
2996
+ },
2997
+ "signature": "(property) totalFixableErrorCount?: number | undefined",
2998
+ "name": "totalFixableErrorCount",
2999
+ "type": {
3000
+ "__schema": "KeywordTypeSchema",
3001
+ "location": {
3002
+ "filePath": "linter.ts",
3003
+ "line": 27,
3004
+ "character": 28
3005
+ },
3006
+ "name": "number"
3007
+ },
3008
+ "isOptional": true
3009
+ },
3010
+ {
3011
+ "__schema": "VariableLikeSchema",
3012
+ "location": {
3013
+ "filePath": "linter.ts",
3014
+ "line": 31,
3015
+ "character": 3
3016
+ },
3017
+ "doc": {
3018
+ "__schema": "DocSchema",
3019
+ "location": {
3020
+ "filePath": "linter.ts",
3021
+ "line": 28,
3022
+ "character": 3
3023
+ },
3024
+ "raw": "/**\n * total fatal warning count of the component (from all of the files).\n */",
3025
+ "comment": "total fatal warning count of the component (from all of the files)."
3026
+ },
3027
+ "signature": "(property) totalFixableWarningCount?: number | undefined",
3028
+ "name": "totalFixableWarningCount",
3029
+ "type": {
3030
+ "__schema": "KeywordTypeSchema",
3031
+ "location": {
3032
+ "filePath": "linter.ts",
3033
+ "line": 31,
3034
+ "character": 30
3035
+ },
3036
+ "name": "number"
3037
+ },
3038
+ "isOptional": true
3039
+ },
3040
+ {
3041
+ "__schema": "VariableLikeSchema",
3042
+ "location": {
3043
+ "filePath": "linter.ts",
3044
+ "line": 35,
3045
+ "character": 3
3046
+ },
3047
+ "doc": {
3048
+ "__schema": "DocSchema",
3049
+ "location": {
3050
+ "filePath": "linter.ts",
3051
+ "line": 32,
3052
+ "character": 3
3053
+ },
3054
+ "raw": "/**\n * total warning count of the component (from all of the files).\n */",
3055
+ "comment": "total warning count of the component (from all of the files)."
3056
+ },
3057
+ "signature": "(property) totalWarningCount: number",
3058
+ "name": "totalWarningCount",
3059
+ "type": {
3060
+ "__schema": "KeywordTypeSchema",
3061
+ "location": {
3062
+ "filePath": "linter.ts",
3063
+ "line": 35,
3064
+ "character": 22
3065
+ },
3066
+ "name": "number"
3067
+ },
3068
+ "isOptional": false
3069
+ },
3070
+ {
3071
+ "__schema": "VariableLikeSchema",
3072
+ "location": {
3073
+ "filePath": "linter.ts",
3074
+ "line": 40,
3075
+ "character": 3
3076
+ },
3077
+ "doc": {
3078
+ "__schema": "DocSchema",
3079
+ "location": {
3080
+ "filePath": "linter.ts",
3081
+ "line": 37,
3082
+ "character": 3
3083
+ },
3084
+ "raw": "/**\n * lint results for each one of the component files\n */",
3085
+ "comment": "lint results for each one of the component files"
3086
+ },
3087
+ "signature": "(property) results: LintResult[]",
3088
+ "name": "results",
3089
+ "type": {
3090
+ "__schema": "TypeArraySchema",
3091
+ "location": {
3092
+ "filePath": "linter.ts",
3093
+ "line": 40,
3094
+ "character": 12
3095
+ },
3096
+ "type": {
3097
+ "__schema": "TypeRefSchema",
3098
+ "location": {
3099
+ "filePath": "linter.ts",
3100
+ "line": 40,
3101
+ "character": 12
3102
+ },
3103
+ "name": "LintResult"
3104
+ }
3105
+ },
3106
+ "isOptional": false
3107
+ }
3108
+ ]
3109
+ }
3110
+ },
3111
+ {
3112
+ "__schema": "TypeSchema",
3113
+ "location": {
3114
+ "filePath": "linter.ts",
3115
+ "line": 43,
3116
+ "character": 1
3117
+ },
3118
+ "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}",
3119
+ "name": "LintResult",
3120
+ "type": {
3121
+ "__schema": "TypeLiteralSchema",
3122
+ "location": {
3123
+ "filePath": "linter.ts",
3124
+ "line": 43,
3125
+ "character": 26
3126
+ },
3127
+ "members": [
3128
+ {
3129
+ "__schema": "VariableLikeSchema",
3130
+ "location": {
3131
+ "filePath": "linter.ts",
3132
+ "line": 47,
3133
+ "character": 3
3134
+ },
3135
+ "doc": {
3136
+ "__schema": "DocSchema",
3137
+ "location": {
3138
+ "filePath": "linter.ts",
3139
+ "line": 44,
3140
+ "character": 3
3141
+ },
3142
+ "raw": "/**\n * path of the linted file.\n */",
3143
+ "comment": "path of the linted file."
3144
+ },
3145
+ "signature": "(property) filePath: string",
3146
+ "name": "filePath",
3147
+ "type": {
3148
+ "__schema": "KeywordTypeSchema",
3149
+ "location": {
3150
+ "filePath": "linter.ts",
3151
+ "line": 47,
3152
+ "character": 13
3153
+ },
3154
+ "name": "string"
3155
+ },
3156
+ "isOptional": false
3157
+ },
3158
+ {
3159
+ "__schema": "VariableLikeSchema",
3160
+ "location": {
3161
+ "filePath": "linter.ts",
3162
+ "line": 52,
3163
+ "character": 3
3164
+ },
3165
+ "doc": {
3166
+ "__schema": "DocSchema",
3167
+ "location": {
3168
+ "filePath": "linter.ts",
3169
+ "line": 49,
3170
+ "character": 3
3171
+ },
3172
+ "raw": "/**\n * numbers of errors found.\n */",
3173
+ "comment": "numbers of errors found."
3174
+ },
3175
+ "signature": "(property) errorCount: number",
3176
+ "name": "errorCount",
3177
+ "type": {
3178
+ "__schema": "KeywordTypeSchema",
3179
+ "location": {
3180
+ "filePath": "linter.ts",
3181
+ "line": 52,
3182
+ "character": 15
3183
+ },
3184
+ "name": "number"
3185
+ },
3186
+ "isOptional": false
3187
+ },
3188
+ {
3189
+ "__schema": "VariableLikeSchema",
3190
+ "location": {
3191
+ "filePath": "linter.ts",
3192
+ "line": 57,
3193
+ "character": 3
3194
+ },
3195
+ "doc": {
3196
+ "__schema": "DocSchema",
3197
+ "location": {
3198
+ "filePath": "linter.ts",
3199
+ "line": 54,
3200
+ "character": 3
3201
+ },
3202
+ "raw": "/**\n * numbers of errors found.\n */",
3203
+ "comment": "numbers of errors found."
3204
+ },
3205
+ "signature": "(property) fatalErrorCount?: number | undefined",
3206
+ "name": "fatalErrorCount",
3207
+ "type": {
3208
+ "__schema": "KeywordTypeSchema",
3209
+ "location": {
3210
+ "filePath": "linter.ts",
3211
+ "line": 57,
3212
+ "character": 21
3213
+ },
3214
+ "name": "number"
3215
+ },
3216
+ "isOptional": true
3217
+ },
3218
+ {
3219
+ "__schema": "VariableLikeSchema",
3220
+ "location": {
3221
+ "filePath": "linter.ts",
3222
+ "line": 62,
3223
+ "character": 3
3224
+ },
3225
+ "doc": {
3226
+ "__schema": "DocSchema",
3227
+ "location": {
3228
+ "filePath": "linter.ts",
3229
+ "line": 59,
3230
+ "character": 3
3231
+ },
3232
+ "raw": "/**\n * numbers of fixable errors found.\n */",
3233
+ "comment": "numbers of fixable errors found."
3234
+ },
3235
+ "signature": "(property) fixableErrorCount?: number | undefined",
3236
+ "name": "fixableErrorCount",
3237
+ "type": {
3238
+ "__schema": "KeywordTypeSchema",
3239
+ "location": {
3240
+ "filePath": "linter.ts",
3241
+ "line": 62,
3242
+ "character": 23
3243
+ },
3244
+ "name": "number"
3245
+ },
3246
+ "isOptional": true
3247
+ },
3248
+ {
3249
+ "__schema": "VariableLikeSchema",
3250
+ "location": {
3251
+ "filePath": "linter.ts",
3252
+ "line": 67,
3253
+ "character": 3
3254
+ },
3255
+ "doc": {
3256
+ "__schema": "DocSchema",
3257
+ "location": {
3258
+ "filePath": "linter.ts",
3259
+ "line": 64,
3260
+ "character": 3
3261
+ },
3262
+ "raw": "/**\n * numbers of fixable warning found.\n */",
3263
+ "comment": "numbers of fixable warning found."
3264
+ },
3265
+ "signature": "(property) fixableWarningCount?: number | undefined",
3266
+ "name": "fixableWarningCount",
3267
+ "type": {
3268
+ "__schema": "KeywordTypeSchema",
3269
+ "location": {
3270
+ "filePath": "linter.ts",
3271
+ "line": 67,
3272
+ "character": 25
3273
+ },
3274
+ "name": "number"
3275
+ },
3276
+ "isOptional": true
3277
+ },
3278
+ {
3279
+ "__schema": "VariableLikeSchema",
3280
+ "location": {
3281
+ "filePath": "linter.ts",
3282
+ "line": 72,
3283
+ "character": 3
3284
+ },
3285
+ "doc": {
3286
+ "__schema": "DocSchema",
3287
+ "location": {
3288
+ "filePath": "linter.ts",
3289
+ "line": 69,
3290
+ "character": 3
3291
+ },
3292
+ "raw": "/**\n * number of found warnings.\n */",
3293
+ "comment": "number of found warnings."
3294
+ },
3295
+ "signature": "(property) warningCount: number",
3296
+ "name": "warningCount",
3297
+ "type": {
3298
+ "__schema": "KeywordTypeSchema",
3299
+ "location": {
3300
+ "filePath": "linter.ts",
3301
+ "line": 72,
3302
+ "character": 17
3303
+ },
3304
+ "name": "number"
3305
+ },
3306
+ "isOptional": false
3307
+ },
3308
+ {
3309
+ "__schema": "VariableLikeSchema",
3310
+ "location": {
3311
+ "filePath": "linter.ts",
3312
+ "line": 77,
3313
+ "character": 3
3314
+ },
3315
+ "doc": {
3316
+ "__schema": "DocSchema",
3317
+ "location": {
3318
+ "filePath": "linter.ts",
3319
+ "line": 74,
3320
+ "character": 3
3321
+ },
3322
+ "raw": "/**\n * lint messages.\n */",
3323
+ "comment": "lint messages."
3324
+ },
3325
+ "signature": "(property) messages: LintMessage[]",
3326
+ "name": "messages",
3327
+ "type": {
3328
+ "__schema": "TypeArraySchema",
3329
+ "location": {
3330
+ "filePath": "linter.ts",
3331
+ "line": 77,
3332
+ "character": 13
3333
+ },
3334
+ "type": {
3335
+ "__schema": "TypeRefSchema",
3336
+ "location": {
3337
+ "filePath": "linter.ts",
3338
+ "line": 77,
3339
+ "character": 13
3340
+ },
3341
+ "name": "LintMessage",
3342
+ "internalFilePath": "linter.ts"
3343
+ }
3344
+ },
3345
+ "isOptional": false
3346
+ },
3347
+ {
3348
+ "__schema": "VariableLikeSchema",
3349
+ "location": {
3350
+ "filePath": "linter.ts",
3351
+ "line": 82,
3352
+ "character": 3
3353
+ },
3354
+ "doc": {
3355
+ "__schema": "DocSchema",
3356
+ "location": {
3357
+ "filePath": "linter.ts",
3358
+ "line": 79,
3359
+ "character": 3
3360
+ },
3361
+ "raw": "/**\n * Raw data as returned from the linter\n */",
3362
+ "comment": "Raw data as returned from the linter"
3363
+ },
3364
+ "signature": "(property) raw: any",
3365
+ "name": "raw",
3366
+ "type": {
3367
+ "__schema": "KeywordTypeSchema",
3368
+ "location": {
3369
+ "filePath": "linter.ts",
3370
+ "line": 82,
3371
+ "character": 8
3372
+ },
3373
+ "name": "any"
3374
+ },
3375
+ "isOptional": false
3376
+ }
3377
+ ]
3378
+ }
3379
+ },
3380
+ {
3381
+ "__schema": "TypeSchema",
3382
+ "location": {
3383
+ "filePath": "linter.ts",
3384
+ "line": 85,
3385
+ "character": 1
3386
+ },
3387
+ "signature": "type LintMessage = {\n severity: string;\n column: number;\n line: number;\n endColumn?: number | undefined;\n endLine?: number | undefined;\n message: string;\n suggestions?: string[] | undefined;\n}",
3388
+ "name": "LintMessage",
3389
+ "type": {
3390
+ "__schema": "TypeLiteralSchema",
3391
+ "location": {
3392
+ "filePath": "linter.ts",
3393
+ "line": 85,
3394
+ "character": 27
3395
+ },
3396
+ "members": [
3397
+ {
3398
+ "__schema": "VariableLikeSchema",
3399
+ "location": {
3400
+ "filePath": "linter.ts",
3401
+ "line": 89,
3402
+ "character": 3
3403
+ },
3404
+ "doc": {
3405
+ "__schema": "DocSchema",
3406
+ "location": {
3407
+ "filePath": "linter.ts",
3408
+ "line": 86,
3409
+ "character": 3
3410
+ },
3411
+ "raw": "/**\n * severity of the issue.\n */",
3412
+ "comment": "severity of the issue."
3413
+ },
3414
+ "signature": "(property) severity: string",
3415
+ "name": "severity",
3416
+ "type": {
3417
+ "__schema": "KeywordTypeSchema",
3418
+ "location": {
3419
+ "filePath": "linter.ts",
3420
+ "line": 89,
3421
+ "character": 13
3422
+ },
3423
+ "name": "string"
3424
+ },
3425
+ "isOptional": false
3426
+ },
3427
+ {
3428
+ "__schema": "VariableLikeSchema",
3429
+ "location": {
3430
+ "filePath": "linter.ts",
3431
+ "line": 93,
3432
+ "character": 3
3433
+ },
3434
+ "doc": {
3435
+ "__schema": "DocSchema",
3436
+ "location": {
3437
+ "filePath": "linter.ts",
3438
+ "line": 90,
3439
+ "character": 3
3440
+ },
3441
+ "raw": "/**\n * stating column of the issue.\n */",
3442
+ "comment": "stating column of the issue."
3443
+ },
3444
+ "signature": "(property) column: number",
3445
+ "name": "column",
3446
+ "type": {
3447
+ "__schema": "KeywordTypeSchema",
3448
+ "location": {
3449
+ "filePath": "linter.ts",
3450
+ "line": 93,
3451
+ "character": 11
3452
+ },
3453
+ "name": "number"
3454
+ },
3455
+ "isOptional": false
3456
+ },
3457
+ {
3458
+ "__schema": "VariableLikeSchema",
3459
+ "location": {
3460
+ "filePath": "linter.ts",
3461
+ "line": 98,
3462
+ "character": 3
3463
+ },
3464
+ "doc": {
3465
+ "__schema": "DocSchema",
3466
+ "location": {
3467
+ "filePath": "linter.ts",
3468
+ "line": 95,
3469
+ "character": 3
3470
+ },
3471
+ "raw": "/**\n * line of the issue.\n */",
3472
+ "comment": "line of the issue."
3473
+ },
3474
+ "signature": "(property) line: number",
3475
+ "name": "line",
3476
+ "type": {
3477
+ "__schema": "KeywordTypeSchema",
3478
+ "location": {
3479
+ "filePath": "linter.ts",
3480
+ "line": 98,
3481
+ "character": 9
3482
+ },
3483
+ "name": "number"
3484
+ },
3485
+ "isOptional": false
3486
+ },
3487
+ {
3488
+ "__schema": "VariableLikeSchema",
3489
+ "location": {
3490
+ "filePath": "linter.ts",
3491
+ "line": 103,
3492
+ "character": 3
3493
+ },
3494
+ "doc": {
3495
+ "__schema": "DocSchema",
3496
+ "location": {
3497
+ "filePath": "linter.ts",
3498
+ "line": 100,
3499
+ "character": 3
3500
+ },
3501
+ "raw": "/**\n * end column of the issue.\n */",
3502
+ "comment": "end column of the issue."
3503
+ },
3504
+ "signature": "(property) endColumn?: number | undefined",
3505
+ "name": "endColumn",
3506
+ "type": {
3507
+ "__schema": "KeywordTypeSchema",
3508
+ "location": {
3509
+ "filePath": "linter.ts",
3510
+ "line": 103,
3511
+ "character": 15
3512
+ },
3513
+ "name": "number"
3514
+ },
3515
+ "isOptional": true
3516
+ },
3517
+ {
3518
+ "__schema": "VariableLikeSchema",
3519
+ "location": {
3520
+ "filePath": "linter.ts",
3521
+ "line": 108,
3522
+ "character": 3
3523
+ },
3524
+ "doc": {
3525
+ "__schema": "DocSchema",
3526
+ "location": {
3527
+ "filePath": "linter.ts",
3528
+ "line": 105,
3529
+ "character": 3
3530
+ },
3531
+ "raw": "/**\n * end line of the issue.\n */",
3532
+ "comment": "end line of the issue."
3533
+ },
3534
+ "signature": "(property) endLine?: number | undefined",
3535
+ "name": "endLine",
3536
+ "type": {
3537
+ "__schema": "KeywordTypeSchema",
3538
+ "location": {
3539
+ "filePath": "linter.ts",
3540
+ "line": 108,
3541
+ "character": 13
3542
+ },
3543
+ "name": "number"
3544
+ },
3545
+ "isOptional": true
3546
+ },
3547
+ {
3548
+ "__schema": "VariableLikeSchema",
3549
+ "location": {
3550
+ "filePath": "linter.ts",
3551
+ "line": 113,
3552
+ "character": 3
3553
+ },
3554
+ "doc": {
3555
+ "__schema": "DocSchema",
3556
+ "location": {
3557
+ "filePath": "linter.ts",
3558
+ "line": 110,
3559
+ "character": 3
3560
+ },
3561
+ "raw": "/**\n * message of the issue.\n */",
3562
+ "comment": "message of the issue."
3563
+ },
3564
+ "signature": "(property) message: string",
3565
+ "name": "message",
3566
+ "type": {
3567
+ "__schema": "KeywordTypeSchema",
3568
+ "location": {
3569
+ "filePath": "linter.ts",
3570
+ "line": 113,
3571
+ "character": 12
3572
+ },
3573
+ "name": "string"
3574
+ },
3575
+ "isOptional": false
3576
+ },
3577
+ {
3578
+ "__schema": "VariableLikeSchema",
3579
+ "location": {
3580
+ "filePath": "linter.ts",
3581
+ "line": 118,
3582
+ "character": 3
3583
+ },
3584
+ "doc": {
3585
+ "__schema": "DocSchema",
3586
+ "location": {
3587
+ "filePath": "linter.ts",
3588
+ "line": 115,
3589
+ "character": 3
3590
+ },
3591
+ "raw": "/**\n * lint suggestions.\n */",
3592
+ "comment": "lint suggestions."
3593
+ },
3594
+ "signature": "(property) suggestions?: string[] | undefined",
3595
+ "name": "suggestions",
3596
+ "type": {
3597
+ "__schema": "TypeArraySchema",
3598
+ "location": {
3599
+ "filePath": "linter.ts",
3600
+ "line": 118,
3601
+ "character": 17
3602
+ },
3603
+ "type": {
3604
+ "__schema": "KeywordTypeSchema",
3605
+ "location": {
3606
+ "filePath": "linter.ts",
3607
+ "line": 118,
3608
+ "character": 17
3609
+ },
3610
+ "name": "string"
3611
+ }
3612
+ },
3613
+ "isOptional": true
3614
+ }
3615
+ ]
3616
+ }
3617
+ },
3618
+ {
3619
+ "__schema": "TypeSchema",
3620
+ "location": {
3621
+ "filePath": "linter.ts",
3622
+ "line": 121,
3623
+ "character": 1
3624
+ },
3625
+ "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}",
3626
+ "name": "LintResults",
3627
+ "type": {
3628
+ "__schema": "TypeLiteralSchema",
3629
+ "location": {
3630
+ "filePath": "linter.ts",
3631
+ "line": 121,
3632
+ "character": 27
3633
+ },
3634
+ "members": [
3635
+ {
3636
+ "__schema": "VariableLikeSchema",
3637
+ "location": {
3638
+ "filePath": "linter.ts",
3639
+ "line": 122,
3640
+ "character": 3
3641
+ },
3642
+ "signature": "(property) results: ComponentLintResult[]",
3643
+ "name": "results",
3644
+ "type": {
3645
+ "__schema": "TypeArraySchema",
3646
+ "location": {
3647
+ "filePath": "linter.ts",
3648
+ "line": 122,
3649
+ "character": 12
3650
+ },
3651
+ "type": {
3652
+ "__schema": "TypeRefSchema",
3653
+ "location": {
3654
+ "filePath": "linter.ts",
3655
+ "line": 122,
3656
+ "character": 12
3657
+ },
3658
+ "name": "ComponentLintResult"
3659
+ }
3660
+ },
3661
+ "isOptional": false
3662
+ },
3663
+ {
3664
+ "__schema": "VariableLikeSchema",
3665
+ "location": {
3666
+ "filePath": "linter.ts",
3667
+ "line": 126,
3668
+ "character": 3
3669
+ },
3670
+ "doc": {
3671
+ "__schema": "DocSchema",
3672
+ "location": {
3673
+ "filePath": "linter.ts",
3674
+ "line": 123,
3675
+ "character": 3
3676
+ },
3677
+ "raw": "/**\n * total errors count of the component (from all of the components).\n */",
3678
+ "comment": "total errors count of the component (from all of the components)."
3679
+ },
3680
+ "signature": "(property) totalErrorCount: number",
3681
+ "name": "totalErrorCount",
3682
+ "type": {
3683
+ "__schema": "KeywordTypeSchema",
3684
+ "location": {
3685
+ "filePath": "linter.ts",
3686
+ "line": 126,
3687
+ "character": 20
3688
+ },
3689
+ "name": "number"
3690
+ },
3691
+ "isOptional": false
3692
+ },
3693
+ {
3694
+ "__schema": "VariableLikeSchema",
3695
+ "location": {
3696
+ "filePath": "linter.ts",
3697
+ "line": 130,
3698
+ "character": 3
3699
+ },
3700
+ "doc": {
3701
+ "__schema": "DocSchema",
3702
+ "location": {
3703
+ "filePath": "linter.ts",
3704
+ "line": 127,
3705
+ "character": 3
3706
+ },
3707
+ "raw": "/**\n * total fatal errors count of the component (from all of the components).\n */",
3708
+ "comment": "total fatal errors count of the component (from all of the components)."
3709
+ },
3710
+ "signature": "(property) totalFatalErrorCount?: number | undefined",
3711
+ "name": "totalFatalErrorCount",
3712
+ "type": {
3713
+ "__schema": "KeywordTypeSchema",
3714
+ "location": {
3715
+ "filePath": "linter.ts",
3716
+ "line": 130,
3717
+ "character": 26
3718
+ },
3719
+ "name": "number"
3720
+ },
3721
+ "isOptional": true
3722
+ },
3723
+ {
3724
+ "__schema": "VariableLikeSchema",
3725
+ "location": {
3726
+ "filePath": "linter.ts",
3727
+ "line": 134,
3728
+ "character": 3
3729
+ },
3730
+ "doc": {
3731
+ "__schema": "DocSchema",
3732
+ "location": {
3733
+ "filePath": "linter.ts",
3734
+ "line": 131,
3735
+ "character": 3
3736
+ },
3737
+ "raw": "/**\n * total fixable errors count of the component (from all of the components).\n */",
3738
+ "comment": "total fixable errors count of the component (from all of the components)."
3739
+ },
3740
+ "signature": "(property) totalFixableErrorCount?: number | undefined",
3741
+ "name": "totalFixableErrorCount",
3742
+ "type": {
3743
+ "__schema": "KeywordTypeSchema",
3744
+ "location": {
3745
+ "filePath": "linter.ts",
3746
+ "line": 134,
3747
+ "character": 28
3748
+ },
3749
+ "name": "number"
3750
+ },
3751
+ "isOptional": true
3752
+ },
3753
+ {
3754
+ "__schema": "VariableLikeSchema",
3755
+ "location": {
3756
+ "filePath": "linter.ts",
3757
+ "line": 138,
3758
+ "character": 3
3759
+ },
3760
+ "doc": {
3761
+ "__schema": "DocSchema",
3762
+ "location": {
3763
+ "filePath": "linter.ts",
3764
+ "line": 135,
3765
+ "character": 3
3766
+ },
3767
+ "raw": "/**\n * total fatal warning count of the component (from all of the components).\n */",
3768
+ "comment": "total fatal warning count of the component (from all of the components)."
3769
+ },
3770
+ "signature": "(property) totalFixableWarningCount?: number | undefined",
3771
+ "name": "totalFixableWarningCount",
3772
+ "type": {
3773
+ "__schema": "KeywordTypeSchema",
3774
+ "location": {
3775
+ "filePath": "linter.ts",
3776
+ "line": 138,
3777
+ "character": 30
3778
+ },
3779
+ "name": "number"
3780
+ },
3781
+ "isOptional": true
3782
+ },
3783
+ {
3784
+ "__schema": "VariableLikeSchema",
3785
+ "location": {
3786
+ "filePath": "linter.ts",
3787
+ "line": 142,
3788
+ "character": 3
3789
+ },
3790
+ "doc": {
3791
+ "__schema": "DocSchema",
3792
+ "location": {
3793
+ "filePath": "linter.ts",
3794
+ "line": 139,
3795
+ "character": 3
3796
+ },
3797
+ "raw": "/**\n * total warning count of the component (from all of the components).\n */",
3798
+ "comment": "total warning count of the component (from all of the components)."
3799
+ },
3800
+ "signature": "(property) totalWarningCount: number",
3801
+ "name": "totalWarningCount",
3802
+ "type": {
3803
+ "__schema": "KeywordTypeSchema",
3804
+ "location": {
3805
+ "filePath": "linter.ts",
3806
+ "line": 142,
3807
+ "character": 22
3808
+ },
3809
+ "name": "number"
3810
+ },
3811
+ "isOptional": false
3812
+ },
3813
+ {
3814
+ "__schema": "VariableLikeSchema",
3815
+ "location": {
3816
+ "filePath": "linter.ts",
3817
+ "line": 144,
3818
+ "character": 3
3819
+ },
3820
+ "signature": "(property) totalComponentsWithErrorCount: number",
3821
+ "name": "totalComponentsWithErrorCount",
3822
+ "type": {
3823
+ "__schema": "KeywordTypeSchema",
3824
+ "location": {
3825
+ "filePath": "linter.ts",
3826
+ "line": 144,
3827
+ "character": 34
3828
+ },
3829
+ "name": "number"
3830
+ },
3831
+ "isOptional": false
3832
+ },
3833
+ {
3834
+ "__schema": "VariableLikeSchema",
3835
+ "location": {
3836
+ "filePath": "linter.ts",
3837
+ "line": 145,
3838
+ "character": 3
3839
+ },
3840
+ "signature": "(property) totalComponentsWithFatalErrorCount?: number | undefined",
3841
+ "name": "totalComponentsWithFatalErrorCount",
3842
+ "type": {
3843
+ "__schema": "KeywordTypeSchema",
3844
+ "location": {
3845
+ "filePath": "linter.ts",
3846
+ "line": 145,
3847
+ "character": 40
3848
+ },
3849
+ "name": "number"
3850
+ },
3851
+ "isOptional": true
3852
+ },
3853
+ {
3854
+ "__schema": "VariableLikeSchema",
3855
+ "location": {
3856
+ "filePath": "linter.ts",
3857
+ "line": 146,
3858
+ "character": 3
3859
+ },
3860
+ "signature": "(property) totalComponentsWithFixableErrorCount?: number | undefined",
3861
+ "name": "totalComponentsWithFixableErrorCount",
3862
+ "type": {
3863
+ "__schema": "KeywordTypeSchema",
3864
+ "location": {
3865
+ "filePath": "linter.ts",
3866
+ "line": 146,
3867
+ "character": 42
3868
+ },
3869
+ "name": "number"
3870
+ },
3871
+ "isOptional": true
3872
+ },
3873
+ {
3874
+ "__schema": "VariableLikeSchema",
3875
+ "location": {
3876
+ "filePath": "linter.ts",
3877
+ "line": 147,
3878
+ "character": 3
3879
+ },
3880
+ "signature": "(property) totalComponentsWithFixableWarningCount?: number | undefined",
3881
+ "name": "totalComponentsWithFixableWarningCount",
3882
+ "type": {
3883
+ "__schema": "KeywordTypeSchema",
3884
+ "location": {
3885
+ "filePath": "linter.ts",
3886
+ "line": 147,
3887
+ "character": 44
3888
+ },
3889
+ "name": "number"
3890
+ },
3891
+ "isOptional": true
3892
+ },
3893
+ {
3894
+ "__schema": "VariableLikeSchema",
3895
+ "location": {
3896
+ "filePath": "linter.ts",
3897
+ "line": 148,
3898
+ "character": 3
3899
+ },
3900
+ "signature": "(property) totalComponentsWithWarningCount: number",
3901
+ "name": "totalComponentsWithWarningCount",
3902
+ "type": {
3903
+ "__schema": "KeywordTypeSchema",
3904
+ "location": {
3905
+ "filePath": "linter.ts",
3906
+ "line": 148,
3907
+ "character": 36
3908
+ },
3909
+ "name": "number"
3910
+ },
3911
+ "isOptional": false
3912
+ },
3913
+ {
3914
+ "__schema": "VariableLikeSchema",
3915
+ "location": {
3916
+ "filePath": "linter.ts",
3917
+ "line": 150,
3918
+ "character": 3
3919
+ },
3920
+ "signature": "(property) errors: Error[]",
3921
+ "name": "errors",
3922
+ "type": {
3923
+ "__schema": "TypeArraySchema",
3924
+ "location": {
3925
+ "filePath": "linter.ts",
3926
+ "line": 150,
3927
+ "character": 11
3928
+ },
3929
+ "type": {
3930
+ "__schema": "TypeRefSchema",
3931
+ "location": {
3932
+ "filePath": "linter.ts",
3933
+ "line": 150,
3934
+ "character": 11
3935
+ },
3936
+ "name": "Error"
3937
+ }
3938
+ },
3939
+ "isOptional": false
3940
+ }
3941
+ ]
3942
+ }
3943
+ },
3944
+ {
3945
+ "__schema": "InterfaceSchema",
3946
+ "location": {
3947
+ "filePath": "linter.ts",
3948
+ "line": 153,
3949
+ "character": 1
3950
+ },
3951
+ "signature": "interface Linter",
3952
+ "name": "Linter",
3953
+ "members": [
3954
+ {
3955
+ "__schema": "VariableLikeSchema",
3956
+ "location": {
3957
+ "filePath": "linter.ts",
3958
+ "line": 154,
3959
+ "character": 3
3960
+ },
3961
+ "signature": "(property) Linter.id: string",
3962
+ "name": "id",
3963
+ "type": {
3964
+ "__schema": "KeywordTypeSchema",
3965
+ "location": {
3966
+ "filePath": "linter.ts",
3967
+ "line": 154,
3968
+ "character": 7
3969
+ },
3970
+ "name": "string"
3971
+ },
3972
+ "isOptional": false
3973
+ },
3974
+ {
3975
+ "__schema": "FunctionLikeSchema",
3976
+ "location": {
3977
+ "filePath": "linter.ts",
3978
+ "line": 155,
3979
+ "character": 3
3980
+ },
3981
+ "signature": "(method) Linter.lint(context: LinterContext, buildContext?: BuildContext): Promise<LintResults>",
3982
+ "name": "lint",
3983
+ "params": [
3984
+ {
3985
+ "__schema": "ParameterSchema",
3986
+ "location": {
3987
+ "filePath": "linter.ts",
3988
+ "line": 155,
3989
+ "character": 8
3990
+ },
3991
+ "name": "context",
3992
+ "type": {
3993
+ "__schema": "TypeRefSchema",
3994
+ "location": {
3995
+ "filePath": "linter.ts",
3996
+ "line": 155,
3997
+ "character": 17
3998
+ },
3999
+ "name": "LinterContext"
4000
+ },
4001
+ "isOptional": false,
4002
+ "isSpread": false
4003
+ },
4004
+ {
4005
+ "__schema": "ParameterSchema",
4006
+ "location": {
4007
+ "filePath": "linter.ts",
4008
+ "line": 155,
4009
+ "character": 32
4010
+ },
4011
+ "name": "buildContext",
4012
+ "type": {
4013
+ "__schema": "TypeRefSchema",
4014
+ "location": {
4015
+ "filePath": "linter.ts",
4016
+ "line": 155,
4017
+ "character": 47
4018
+ },
4019
+ "name": "BuildContext",
4020
+ "componentId": {
4021
+ "scope": "teambit.pipelines",
4022
+ "name": "builder"
4023
+ }
4024
+ },
4025
+ "isOptional": true,
4026
+ "isSpread": false
4027
+ }
4028
+ ],
4029
+ "returnType": {
4030
+ "__schema": "TypeRefSchema",
4031
+ "location": {
4032
+ "filePath": "linter.ts",
4033
+ "line": 155,
4034
+ "character": 62
4035
+ },
4036
+ "name": "Promise",
4037
+ "typeArgs": [
4038
+ {
4039
+ "__schema": "TypeRefSchema",
4040
+ "location": {
4041
+ "filePath": "linter.ts",
4042
+ "line": 155,
4043
+ "character": 70
4044
+ },
4045
+ "name": "LintResults"
4046
+ }
4047
+ ]
4048
+ },
4049
+ "modifiers": []
4050
+ }
4051
+ ],
4052
+ "extendsNodes": []
4053
+ }
4054
+ ],
4055
+ "internals": []
4056
+ },
4057
+ {
4058
+ "__schema": "ModuleSchema",
4059
+ "location": {
4060
+ "filePath": "lint.task.ts",
4061
+ "line": 1,
4062
+ "character": 1
4063
+ },
4064
+ "exports": [
4065
+ {
4066
+ "__schema": "ClassSchema",
4067
+ "location": {
4068
+ "filePath": "lint.task.ts",
4069
+ "line": 8,
4070
+ "character": 1
4071
+ },
4072
+ "signature": "class LintTask",
4073
+ "name": "LintTask",
4074
+ "members": [
4075
+ {
4076
+ "__schema": "ConstructorSchema",
4077
+ "location": {
4078
+ "filePath": "lint.task.ts",
4079
+ "line": 9,
4080
+ "character": 3
4081
+ },
4082
+ "signature": "constructor LintTask(aspectId: string, name?: string): LintTask",
4083
+ "name": "constructor",
4084
+ "params": [
4085
+ {
4086
+ "__schema": "ParameterSchema",
4087
+ "location": {
4088
+ "filePath": "lint.task.ts",
4089
+ "line": 9,
4090
+ "character": 15
4091
+ },
4092
+ "name": "aspectId",
4093
+ "type": {
4094
+ "__schema": "KeywordTypeSchema",
4095
+ "location": {
4096
+ "filePath": "lint.task.ts",
4097
+ "line": 9,
4098
+ "character": 34
4099
+ },
4100
+ "name": "string"
4101
+ },
4102
+ "isOptional": false,
4103
+ "isSpread": false
4104
+ },
4105
+ {
4106
+ "__schema": "ParameterSchema",
4107
+ "location": {
4108
+ "filePath": "lint.task.ts",
4109
+ "line": 9,
4110
+ "character": 42
4111
+ },
4112
+ "name": "name",
4113
+ "type": {
4114
+ "__schema": "InferenceTypeSchema",
4115
+ "location": {
4116
+ "filePath": "lint.task.ts",
4117
+ "line": 9,
4118
+ "character": 42
4119
+ },
4120
+ "type": "string"
4121
+ },
4122
+ "isOptional": true,
4123
+ "defaultValue": "'lint'",
4124
+ "isSpread": false
4125
+ }
4126
+ ],
4127
+ "returnType": {
4128
+ "__schema": "ThisTypeSchema",
4129
+ "location": {
4130
+ "filePath": "lint.task.ts",
4131
+ "line": 8,
4132
+ "character": 1
4133
+ },
4134
+ "name": "LintTask"
4135
+ },
4136
+ "modifiers": []
4137
+ },
4138
+ {
4139
+ "__schema": "FunctionLikeSchema",
4140
+ "location": {
4141
+ "filePath": "lint.task.ts",
4142
+ "line": 11,
4143
+ "character": 3
4144
+ },
4145
+ "signature": "(method) LintTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
4146
+ "name": "execute",
4147
+ "params": [
4148
+ {
4149
+ "__schema": "ParameterSchema",
4150
+ "location": {
4151
+ "filePath": "lint.task.ts",
4152
+ "line": 11,
4153
+ "character": 17
4154
+ },
4155
+ "name": "context",
4156
+ "type": {
4157
+ "__schema": "TypeRefSchema",
4158
+ "location": {
4159
+ "filePath": "lint.task.ts",
4160
+ "line": 11,
4161
+ "character": 26
4162
+ },
4163
+ "name": "BuildContext",
4164
+ "componentId": {
4165
+ "scope": "teambit.pipelines",
4166
+ "name": "builder"
4167
+ }
4168
+ },
4169
+ "isOptional": false,
4170
+ "isSpread": false
4171
+ }
4172
+ ],
4173
+ "returnType": {
4174
+ "__schema": "TypeRefSchema",
4175
+ "location": {
4176
+ "filePath": "lint.task.ts",
4177
+ "line": 11,
4178
+ "character": 41
4179
+ },
4180
+ "name": "Promise",
4181
+ "typeArgs": [
4182
+ {
4183
+ "__schema": "TypeRefSchema",
4184
+ "location": {
4185
+ "filePath": "lint.task.ts",
4186
+ "line": 11,
4187
+ "character": 49
4188
+ },
4189
+ "name": "BuiltTaskResult",
4190
+ "componentId": {
4191
+ "scope": "teambit.pipelines",
4192
+ "name": "builder"
4193
+ }
4194
+ }
4195
+ ]
4196
+ },
4197
+ "modifiers": [
4198
+ "async"
4199
+ ]
4200
+ }
4201
+ ],
4202
+ "extendsNodes": [],
4203
+ "implementNodes": [
4204
+ {
4205
+ "__schema": "ExpressionWithTypeArgumentsSchema",
4206
+ "location": {
4207
+ "filePath": "lint.task.ts",
4208
+ "line": 8,
4209
+ "character": 34
4210
+ },
4211
+ "name": "implements BuildTask",
4212
+ "typeArgs": [],
4213
+ "expression": {
4214
+ "__schema": "TypeRefSchema",
4215
+ "location": {
4216
+ "filePath": "lint.task.ts",
4217
+ "line": 8,
4218
+ "character": 34
4219
+ },
4220
+ "name": "BuildTask",
4221
+ "componentId": {
4222
+ "_legacy": {
4223
+ "scope": "teambit.defender",
4224
+ "name": "linter",
4225
+ "version": "1.0.190"
4226
+ },
4227
+ "_scope": "teambit.defender"
4228
+ }
4229
+ }
4230
+ }
4231
+ ]
4232
+ }
4233
+ ],
4234
+ "internals": []
4235
+ },
4236
+ {
4237
+ "__schema": "ModuleSchema",
4238
+ "location": {
4239
+ "filePath": "linter-context.ts",
4240
+ "line": 1,
4241
+ "character": 1
4242
+ },
4243
+ "exports": [
4244
+ {
4245
+ "__schema": "TypeSchema",
4246
+ "location": {
4247
+ "filePath": "linter-context.ts",
4248
+ "line": 4,
4249
+ "character": 1
4250
+ },
4251
+ "signature": "type FixType = \"problem\" | \"suggestion\" | \"layout\"",
4252
+ "name": "FixType",
4253
+ "type": {
4254
+ "__schema": "TypeUnionSchema",
4255
+ "location": {
4256
+ "filePath": "linter-context.ts",
4257
+ "line": 4,
4258
+ "character": 23
4259
+ },
4260
+ "types": [
4261
+ {
4262
+ "__schema": "LiteralTypeSchema",
4263
+ "location": {
4264
+ "filePath": "linter-context.ts",
4265
+ "line": 4,
4266
+ "character": 23
4267
+ },
4268
+ "name": "'problem'"
4269
+ },
4270
+ {
4271
+ "__schema": "LiteralTypeSchema",
4272
+ "location": {
4273
+ "filePath": "linter-context.ts",
4274
+ "line": 4,
4275
+ "character": 35
4276
+ },
4277
+ "name": "'suggestion'"
4278
+ },
4279
+ {
4280
+ "__schema": "LiteralTypeSchema",
4281
+ "location": {
4282
+ "filePath": "linter-context.ts",
4283
+ "line": 4,
4284
+ "character": 50
4285
+ },
4286
+ "name": "'layout'"
4287
+ }
4288
+ ]
4289
+ }
4290
+ },
4291
+ {
4292
+ "__schema": "TypeSchema",
4293
+ "location": {
4294
+ "filePath": "linter-context.ts",
4295
+ "line": 5,
4296
+ "character": 1
4297
+ },
4298
+ "signature": "type FixTypes = FixType[]",
4299
+ "name": "FixTypes",
4300
+ "type": {
4301
+ "__schema": "TypeRefSchema",
4302
+ "location": {
4303
+ "filePath": "linter-context.ts",
4304
+ "line": 5,
4305
+ "character": 24
4306
+ },
4307
+ "name": "Array",
4308
+ "typeArgs": [
4309
+ {
4310
+ "__schema": "TypeRefSchema",
4311
+ "location": {
4312
+ "filePath": "linter-context.ts",
4313
+ "line": 5,
4314
+ "character": 30
4315
+ },
4316
+ "name": "FixType",
4317
+ "internalFilePath": "linter-context.ts"
4318
+ }
4319
+ ]
4320
+ }
4321
+ },
4322
+ {
4323
+ "__schema": "InterfaceSchema",
4324
+ "location": {
4325
+ "filePath": "linter-context.ts",
4326
+ "line": 7,
4327
+ "character": 1
4328
+ },
4329
+ "signature": "interface LinterOptions",
4330
+ "name": "LinterOptions",
4331
+ "members": [
4332
+ {
4333
+ "__schema": "VariableLikeSchema",
4334
+ "location": {
4335
+ "filePath": "linter-context.ts",
4336
+ "line": 11,
4337
+ "character": 3
4338
+ },
4339
+ "doc": {
4340
+ "__schema": "DocSchema",
4341
+ "location": {
4342
+ "filePath": "linter-context.ts",
4343
+ "line": 8,
4344
+ "character": 3
4345
+ },
4346
+ "raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
4347
+ "comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
4348
+ },
4349
+ "signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
4350
+ "name": "extensionFormats",
4351
+ "type": {
4352
+ "__schema": "TypeArraySchema",
4353
+ "location": {
4354
+ "filePath": "linter-context.ts",
4355
+ "line": 11,
4356
+ "character": 22
4357
+ },
4358
+ "type": {
4359
+ "__schema": "KeywordTypeSchema",
4360
+ "location": {
4361
+ "filePath": "linter-context.ts",
4362
+ "line": 11,
4363
+ "character": 22
4364
+ },
4365
+ "name": "string"
4366
+ }
4367
+ },
4368
+ "isOptional": true
4369
+ },
4370
+ {
4371
+ "__schema": "VariableLikeSchema",
4372
+ "location": {
4373
+ "filePath": "linter-context.ts",
4374
+ "line": 16,
4375
+ "character": 3
4376
+ },
4377
+ "doc": {
4378
+ "__schema": "DocSchema",
4379
+ "location": {
4380
+ "filePath": "linter-context.ts",
4381
+ "line": 13,
4382
+ "character": 3
4383
+ },
4384
+ "raw": "/**\n * automatically fix problems\n */",
4385
+ "comment": "automatically fix problems"
4386
+ },
4387
+ "signature": "(property) LinterOptions.fix?: boolean | undefined",
4388
+ "name": "fix",
4389
+ "type": {
4390
+ "__schema": "KeywordTypeSchema",
4391
+ "location": {
4392
+ "filePath": "linter-context.ts",
4393
+ "line": 16,
4394
+ "character": 9
4395
+ },
4396
+ "name": "boolean"
4397
+ },
4398
+ "isOptional": true
4399
+ },
4400
+ {
4401
+ "__schema": "VariableLikeSchema",
4402
+ "location": {
4403
+ "filePath": "linter-context.ts",
4404
+ "line": 21,
4405
+ "character": 3
4406
+ },
4407
+ "doc": {
4408
+ "__schema": "DocSchema",
4409
+ "location": {
4410
+ "filePath": "linter-context.ts",
4411
+ "line": 18,
4412
+ "character": 3
4413
+ },
4414
+ "raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
4415
+ "comment": "specify the types of fixes to apply (problem, suggestion, layout)"
4416
+ },
4417
+ "signature": "(property) LinterOptions.fixTypes?: FixTypes | undefined",
4418
+ "name": "fixTypes",
4419
+ "type": {
4420
+ "__schema": "TypeRefSchema",
4421
+ "location": {
4422
+ "filePath": "linter-context.ts",
4423
+ "line": 21,
4424
+ "character": 14
4425
+ },
4426
+ "name": "FixTypes",
4427
+ "internalFilePath": "linter-context.ts"
4428
+ },
4429
+ "isOptional": true
4430
+ }
4431
+ ],
4432
+ "extendsNodes": []
4433
+ },
4434
+ {
4435
+ "__schema": "InterfaceSchema",
4436
+ "location": {
4437
+ "filePath": "linter-context.ts",
4438
+ "line": 23,
4439
+ "character": 1
4440
+ },
4441
+ "signature": "interface LinterContext",
4442
+ "name": "LinterContext",
4443
+ "members": [
4444
+ {
4445
+ "__schema": "VariableLikeSchema",
4446
+ "location": {
4447
+ "filePath": "linter-context.ts",
4448
+ "line": 24,
4449
+ "character": 3
4450
+ },
4451
+ "signature": "(property) LinterContext.quiet?: boolean | undefined",
4452
+ "name": "quiet",
4453
+ "type": {
4454
+ "__schema": "KeywordTypeSchema",
4455
+ "location": {
4456
+ "filePath": "linter-context.ts",
4457
+ "line": 24,
4458
+ "character": 11
4459
+ },
4460
+ "name": "boolean"
4461
+ },
4462
+ "isOptional": true
4463
+ },
4464
+ {
4465
+ "__schema": "VariableLikeSchema",
4466
+ "location": {
4467
+ "filePath": "linter-context.ts",
4468
+ "line": 29,
4469
+ "character": 3
4470
+ },
4471
+ "doc": {
4472
+ "__schema": "DocSchema",
4473
+ "location": {
4474
+ "filePath": "linter-context.ts",
4475
+ "line": 25,
4476
+ "character": 3
4477
+ },
4478
+ "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 */",
4479
+ "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"
4480
+ },
4481
+ "signature": "(property) LinterContext.rootDir?: string | undefined",
4482
+ "name": "rootDir",
4483
+ "type": {
4484
+ "__schema": "KeywordTypeSchema",
4485
+ "location": {
4486
+ "filePath": "linter-context.ts",
4487
+ "line": 29,
4488
+ "character": 13
4489
+ },
4490
+ "name": "string"
4491
+ },
4492
+ "isOptional": true
4493
+ },
4494
+ {
4495
+ "__schema": "VariableLikeSchema",
4496
+ "location": {
4497
+ "filePath": "linter-context.ts",
4498
+ "line": 34,
4499
+ "character": 3
4500
+ },
4501
+ "doc": {
4502
+ "__schema": "DocSchema",
4503
+ "location": {
4504
+ "filePath": "linter-context.ts",
4505
+ "line": 31,
4506
+ "character": 3
4507
+ },
4508
+ "raw": "/**\n * Component map with the path to the component in the fs\n */",
4509
+ "comment": "Component map with the path to the component in the fs"
4510
+ },
4511
+ "signature": "(property) LinterContext.componentsDirMap: ComponentMap<string>",
4512
+ "name": "componentsDirMap",
4513
+ "type": {
4514
+ "__schema": "TypeRefSchema",
4515
+ "location": {
4516
+ "filePath": "linter-context.ts",
4517
+ "line": 34,
4518
+ "character": 21
4519
+ },
4520
+ "name": "ComponentMap",
4521
+ "componentId": {
4522
+ "scope": "teambit.component",
4523
+ "name": "component"
4524
+ },
4525
+ "typeArgs": [
4526
+ {
4527
+ "__schema": "KeywordTypeSchema",
4528
+ "location": {
4529
+ "filePath": "linter-context.ts",
4530
+ "line": 34,
4531
+ "character": 34
4532
+ },
4533
+ "name": "string"
4534
+ }
4535
+ ]
4536
+ },
4537
+ "isOptional": false
4538
+ }
4539
+ ],
4540
+ "extendsNodes": [
4541
+ {
4542
+ "__schema": "ExpressionWithTypeArgumentsSchema",
4543
+ "location": {
4544
+ "filePath": "linter-context.ts",
4545
+ "line": 23,
4546
+ "character": 40
4547
+ },
4548
+ "name": "extends ExecutionContext, LinterOptions",
4549
+ "typeArgs": [],
4550
+ "expression": {
4551
+ "__schema": "TypeRefSchema",
4552
+ "location": {
4553
+ "filePath": "linter-context.ts",
4554
+ "line": 23,
4555
+ "character": 40
4556
+ },
4557
+ "name": "ExecutionContext",
4558
+ "componentId": {
4559
+ "_legacy": {
4560
+ "scope": "teambit.defender",
4561
+ "name": "linter",
4562
+ "version": "1.0.190"
4563
+ },
4564
+ "_scope": "teambit.defender"
4565
+ }
4566
+ }
4567
+ },
4568
+ {
4569
+ "__schema": "ExpressionWithTypeArgumentsSchema",
4570
+ "location": {
4571
+ "filePath": "linter-context.ts",
4572
+ "line": 23,
4573
+ "character": 58
4574
+ },
4575
+ "name": "extends ExecutionContext, LinterOptions",
4576
+ "typeArgs": [],
4577
+ "expression": {
4578
+ "__schema": "InterfaceSchema",
4579
+ "location": {
4580
+ "filePath": "linter-context.ts",
4581
+ "line": 7,
4582
+ "character": 1
4583
+ },
4584
+ "name": "LinterOptions",
4585
+ "signature": "interface LinterOptions",
4586
+ "extendsNodes": [],
4587
+ "members": [
4588
+ {
4589
+ "__schema": "VariableLikeSchema",
4590
+ "location": {
4591
+ "filePath": "linter-context.ts",
4592
+ "line": 11,
4593
+ "character": 3
4594
+ },
4595
+ "name": "extensionFormats",
4596
+ "signature": "(property) LinterOptions.extensionFormats?: string[] | undefined",
4597
+ "isOptional": true,
4598
+ "type": {
4599
+ "__schema": "TypeArraySchema",
4600
+ "location": {
4601
+ "filePath": "linter-context.ts",
4602
+ "line": 11,
4603
+ "character": 22
4604
+ },
4605
+ "type": {
4606
+ "__schema": "KeywordTypeSchema",
4607
+ "location": {
4608
+ "filePath": "linter-context.ts",
4609
+ "line": 11,
4610
+ "character": 22
4611
+ },
4612
+ "name": "string"
4613
+ }
4614
+ },
4615
+ "doc": {
4616
+ "__schema": "DocSchema",
4617
+ "location": {
4618
+ "filePath": "linter-context.ts",
4619
+ "line": 8,
4620
+ "character": 3
4621
+ },
4622
+ "raw": "/**\n * extensions formats to lint. (e.g. .ts, .tsx, etc.)\n */",
4623
+ "comment": "extensions formats to lint. (e.g. .ts, .tsx, etc.)"
4624
+ }
4625
+ },
4626
+ {
4627
+ "__schema": "VariableLikeSchema",
4628
+ "location": {
4629
+ "filePath": "linter-context.ts",
4630
+ "line": 16,
4631
+ "character": 3
4632
+ },
4633
+ "name": "fix",
4634
+ "signature": "(property) LinterOptions.fix?: boolean | undefined",
4635
+ "isOptional": true,
4636
+ "type": {
4637
+ "__schema": "KeywordTypeSchema",
4638
+ "location": {
4639
+ "filePath": "linter-context.ts",
4640
+ "line": 16,
4641
+ "character": 9
4642
+ },
4643
+ "name": "boolean"
4644
+ },
4645
+ "doc": {
4646
+ "__schema": "DocSchema",
4647
+ "location": {
4648
+ "filePath": "linter-context.ts",
4649
+ "line": 13,
4650
+ "character": 3
4651
+ },
4652
+ "raw": "/**\n * automatically fix problems\n */",
4653
+ "comment": "automatically fix problems"
4654
+ }
4655
+ },
4656
+ {
4657
+ "__schema": "VariableLikeSchema",
4658
+ "location": {
4659
+ "filePath": "linter-context.ts",
4660
+ "line": 21,
4661
+ "character": 3
4662
+ },
4663
+ "name": "fixTypes",
4664
+ "signature": "(property) LinterOptions.fixTypes?: FixTypes | undefined",
4665
+ "isOptional": true,
4666
+ "type": {
4667
+ "__schema": "TypeRefSchema",
4668
+ "location": {
4669
+ "filePath": "linter-context.ts",
4670
+ "line": 21,
4671
+ "character": 14
4672
+ },
4673
+ "name": "FixTypes",
4674
+ "internalFilePath": "linter-context.ts"
4675
+ },
4676
+ "doc": {
4677
+ "__schema": "DocSchema",
4678
+ "location": {
4679
+ "filePath": "linter-context.ts",
4680
+ "line": 18,
4681
+ "character": 3
4682
+ },
4683
+ "raw": "/**\n * specify the types of fixes to apply (problem, suggestion, layout)\n */",
4684
+ "comment": "specify the types of fixes to apply (problem, suggestion, layout)"
4685
+ }
4686
+ }
4687
+ ]
4688
+ }
4689
+ }
4690
+ ]
4691
+ }
4692
+ ],
4693
+ "internals": []
4694
+ },
4695
+ {
4696
+ "__schema": "ModuleSchema",
4697
+ "location": {
4698
+ "filePath": "linter-env-type.ts",
4699
+ "line": 1,
4700
+ "character": 1
4701
+ },
4702
+ "exports": [
4703
+ {
4704
+ "__schema": "InterfaceSchema",
4705
+ "location": {
4706
+ "filePath": "linter-env-type.ts",
4707
+ "line": 4,
4708
+ "character": 1
4709
+ },
4710
+ "signature": "interface LinterEnv",
4711
+ "name": "LinterEnv",
4712
+ "members": [
4713
+ {
4714
+ "__schema": "FunctionLikeSchema",
4715
+ "location": {
4716
+ "filePath": "linter-env-type.ts",
4717
+ "line": 8,
4718
+ "character": 3
4719
+ },
4720
+ "doc": {
4721
+ "__schema": "DocSchema",
4722
+ "location": {
4723
+ "filePath": "linter-env-type.ts",
4724
+ "line": 5,
4725
+ "character": 3
4726
+ },
4727
+ "raw": "/**\n * return a Linter instance.\n */",
4728
+ "comment": "return a Linter instance."
4729
+ },
4730
+ "signature": "(method) LinterEnv.linter(): EnvHandler<Linter>",
4731
+ "name": "linter",
4732
+ "params": [],
4733
+ "returnType": {
4734
+ "__schema": "TypeRefSchema",
4735
+ "location": {
4736
+ "filePath": "linter-env-type.ts",
4737
+ "line": 8,
4738
+ "character": 13
4739
+ },
4740
+ "name": "EnvHandler",
4741
+ "componentId": {
4742
+ "scope": "teambit.envs",
4743
+ "name": "envs"
4744
+ },
4745
+ "typeArgs": [
4746
+ {
4747
+ "__schema": "TypeRefSchema",
4748
+ "location": {
4749
+ "filePath": "linter-env-type.ts",
4750
+ "line": 8,
4751
+ "character": 24
4752
+ },
4753
+ "name": "Linter"
4754
+ }
4755
+ ]
4756
+ },
4757
+ "modifiers": []
4758
+ }
4759
+ ],
4760
+ "extendsNodes": []
4761
+ }
4762
+ ],
4763
+ "internals": []
4764
+ }
4765
+ ],
4766
+ "componentId": {
4767
+ "scope": "teambit.defender",
4768
+ "name": "linter",
4769
+ "version": "1.0.190"
4770
+ },
4771
+ "taggedModuleExports": []
4772
+ }