@@ -230,30 +230,6 @@ Array [
230
230
" ruleId" : " no-unused-expressions" ,
231
231
" severity" : 2 ,
232
232
} ,
233
- Object {
234
- " column" : 28 ,
235
- " endColumn" : 8 ,
236
- " endLine" : 92 ,
237
- " fix" : Object {
238
- " range" : Array [
239
- 1570 ,
240
- 1866 ,
241
- ],
242
- " text" : "
243
- <aui-tab-group [type]=\\ " type \\" >
244
- <aui-tab label =\\"Tab 0\\"><aui-card> Content 1 </aui-card></aui-tab>
245
- <aui-tab label =\\"Tab 1\\"><aui-card> Content 2 </aui-card></aui-tab>
246
- <aui-tab label =\\"Tab 2\\"><aui-card> Content 3 </aui-card></aui-tab>
247
- </aui-tab-group>
248
- " ,
249
- },
250
- " line": 86,
251
- " message" : " Templates should be properly indented." ,
252
- " messageId" : " template-indent" ,
253
- " nodeType" : " TemplateLiteral" ,
254
- " ruleId" : " unicorn/template-indent" ,
255
- " severity" : 2,
256
- },
257
233
Object {
258
234
" column" : 6 ,
259
235
" endColumn" : 6 ,
@@ -265,42 +241,6 @@ Array [
265
241
" ruleId" : " no-unused-expressions" ,
266
242
" severity" : 2 ,
267
243
} ,
268
- Object {
269
- " column" : 28 ,
270
- " endColumn" : 8 ,
271
- " endLine" : 126 ,
272
- " fix" : Object {
273
- " range" : Array [
274
- 2053 ,
275
- 2797 ,
276
- ],
277
- " text" : "
278
- <aui-form-item>
279
- <label auiFormItemLabel >尺寸</label >
280
- <aui-radio-group
281
- auiFormItemControl
282
- [(ngModel)]=\\"size\\"
283
- [plain]=\\"false\\"
284
- >
285
- <aui-radio-button value =\\"large\\">大</aui-radio-button>
286
- <aui-radio-button value =\\"medium\\">中</aui-radio-button>
287
- <aui-radio-button value =\\"small\\">小</aui-radio-button>
288
- </aui-radio-group>
289
- </aui-form-item>
290
- <aui-tab-group [size]=\\"size\\">
291
- <aui-tab label =\\"Tab 0\\"><aui-card> Content 1 </aui-card></aui-tab>
292
- <aui-tab label =\\"Tab 1\\"><aui-card> Content 2 </aui-card></aui-tab>
293
- <aui-tab label =\\"Tab 2\\"><aui-card> Content 3 </aui-card></aui-tab>
294
- </aui-tab-group>
295
- " ,
296
- },
297
- " line": 108,
298
- " message" : " Templates should be properly indented." ,
299
- " messageId" : " template-indent" ,
300
- " nodeType" : " TemplateLiteral" ,
301
- " ruleId" : " unicorn/template-indent" ,
302
- " severity" : 2,
303
- },
304
244
Object {
305
245
" column" : 6 ,
306
246
" endColumn" : 6 ,
@@ -312,43 +252,6 @@ Array [
312
252
" ruleId" : " no-unused-expressions" ,
313
253
" severity" : 2 ,
314
254
} ,
315
- Object {
316
- " column" : 28 ,
317
- " endColumn" : 24 ,
318
- " endLine" : 159 ,
319
- " fix" : Object {
320
- " range" : Array [
321
- 2998 ,
322
- 3589 ,
323
- ],
324
- " text" : "
325
- aui-tab-group>
326
- <ng-container *auiTabTitle>aa2</ng-container>
327
- <aui-tab>
328
- <ng-container *auiTabLabel>
329
- <aui-icon icon =\\"sun\\"></aui-icon>
330
- Custom Label
331
- </ng-container>
332
- <aui-card> Content 1 </aui-card>
333
- </aui-tab>
334
- <aui-tab label =\\"Tab 1\\"><aui-card>Content 2</aui-card></aui-tab>
335
- <aui-tab>
336
- <ng-container *auiTabLabel>
337
- <aui-icon icon =\\"moon\\"></aui-icon>
338
- Custom Label
339
- </ng-container>
340
- <aui-card> Content 3 </aui-card>
341
- </aui-tab>
342
- </aui-tab-group
343
- " ,
344
- },
345
- " line": 142,
346
- " message" : " Templates should be properly indented." ,
347
- " messageId" : " template-indent" ,
348
- " nodeType" : " TemplateLiteral" ,
349
- " ruleId" : " unicorn/template-indent" ,
350
- " severity" : 2,
351
- },
352
255
Object {
353
256
" column" : 6 ,
354
257
" endColumn" : 6 ,
@@ -360,44 +263,6 @@ Array [
360
263
" ruleId" : " no-unused-expressions" ,
361
264
" severity" : 2 ,
362
265
} ,
363
- Object {
364
- " column" : 28 ,
365
- " endColumn" : 8 ,
366
- " endLine" : 197 ,
367
- " fix" : Object {
368
- " range" : Array [
369
- 3825 ,
370
- 4386 ,
371
- ],
372
- " text" : "
373
- <aui-tab-group>
374
- <aui-tab
375
- *ngFor=\\"let tab of tabs; index as i; count as len\\"
376
- [closeable]=\\"len > 1\\"
377
- [label]=\\"'tab' + tab\\"
378
- (close)=\\"remove(i)\\"
379
- >
380
- <aui-card > content { { i }} </aui-card >
381
- </aui-tab >
382
- <button
383
- *auiTabHeaderAddon
384
- aui-button =\\"primary\\"
385
- (click)=\\"add()\\"
386
- size =\\"small\\"
387
- [square]=\\"true\\"
388
- >
389
- <aui-icon icon =\\"plus\\"></aui-icon>
390
- </button>
391
- </aui-tab-group>
392
- " ,
393
- },
394
- " line": 177,
395
- " message" : " Templates should be properly indented." ,
396
- " messageId" : " template-indent" ,
397
- " nodeType" : " TemplateLiteral" ,
398
- " ruleId" : " unicorn/template-indent" ,
399
- " severity" : 2,
400
- },
401
266
Object {
402
267
" column" : 13 ,
403
268
" endColumn" : 16 ,
@@ -486,39 +351,6 @@ Array [
486
351
" ruleId" : " no-unused-expressions" ,
487
352
" severity" : 2 ,
488
353
},
489
- Object {
490
- " column" : 28 ,
491
- " endColumn" : 8 ,
492
- " endLine" : 238 ,
493
- " fix" : Object {
494
- " range" : Array [
495
- 4863 ,
496
- 5355 ,
497
- ],
498
- " text" : "
499
- <aui-tab-group>
500
- <aui-tab label =\\"Tab 0\\"> <aui-card> Content 1 </aui-card> </aui-tab>
501
- <aui-tab
502
- label =\\"Tab 1\\"
503
- [disabled]=\\"true\\"
504
- ><aui-card > Content 2 </aui-card ></aui-tab
505
- >
506
- <aui-tab label =\\"Tab 2\\"><aui-card> Content 3 </aui-card></aui-tab>
507
- <aui-tab
508
- label =\\"Tab 3\\"
509
- [disabled]=\\"true\\"
510
- ><aui-card > Content 4 </aui-card ></aui-tab
511
- >
512
- </aui-tab-group >
513
- ",
514
- },
515
- "line": 223,
516
- "message": "Templates should be properly indented.",
517
- "messageId": "template-indent",
518
- "nodeType": "TemplateLiteral",
519
- "ruleId": "unicorn/template-indent",
520
- "severity": 2,
521
- },
522
354
Object {
523
355
" column" : 6 ,
524
356
" endColumn" : 6 ,
@@ -530,53 +362,6 @@ Array [
530
362
" ruleId" : " no-unused-expressions" ,
531
363
" severity" : 2 ,
532
364
},
533
- Object {
534
- " column" : 28 ,
535
- " endColumn" : 8 ,
536
- " endLine" : 285 ,
537
- " fix" : Object {
538
- " range" : Array [
539
- 5652 ,
540
- 6633 ,
541
- ],
542
- " text" : "
543
- <aui-form-item>
544
- <label auiFormItemLabel >启用</label >
545
- <aui-radio-group
546
- auiFormItemControl
547
- [(ngModel)]=\\"lazy\\"
548
- [plain]=\\"false\\"
549
- >
550
- <aui-radio-button [value]=\\"true\\">是</aui-radio-button>
551
- <aui-radio-button [value]=\\"false\\">否</aui-radio-button>
552
- </aui-radio-group>
553
- </aui-form-item>
554
- <aui-tab-group [lazy]=\\"lazy\\">
555
- <aui-tab label =\\"Tab 1\\">
556
- <tabs-lazy-test *auiTabContent
557
- ><aui-card > Content 1 </aui-card ></tabs-lazy-test
558
- >
559
- </aui-tab >
560
- <aui-tab label =\\"Tab 2\\">
561
- <tabs-lazy-test *auiTabContent
562
- ><aui-card > Content 2 </aui-card ></tabs-lazy-test
563
- >
564
- </aui-tab >
565
- <aui-tab label =\\"Tab 3\\">
566
- <tabs-lazy-test *auiTabContent
567
- ><aui-card > Content 3 </aui-card ></tabs-lazy-test
568
- >
569
- </aui-tab >
570
- </aui-tab-group >
571
- " ,
572
- },
573
- " line" : 256 ,
574
- " message" : " Templates should be properly indented." ,
575
- " messageId" : " template-indent" ,
576
- " nodeType" : " TemplateLiteral" ,
577
- " ruleId" : " unicorn/template-indent" ,
578
- " severity" : 2 ,
579
- } ,
580
365
Object {
581
366
" column" : 6 ,
582
367
" endColumn" : 6 ,
@@ -588,59 +373,6 @@ Array [
588
373
" ruleId" : " no-unused-expressions" ,
589
374
" severity" : 2 ,
590
375
},
591
- Object {
592
- " column" : 28 ,
593
- " endColumn" : 26 ,
594
- " endLine" : 335 ,
595
- " fix" : Object {
596
- " range" : Array [
597
- 6863 ,
598
- 8120 ,
599
- ],
600
- " text" : "
601
- <aui-form-item>
602
- <label auiFormItemLabel >启用 Lazy</label >
603
- <aui-radio-group
604
- auiFormItemControl
605
- [(ngModel)]=\\"lazy\\"
606
- [plain]=\\"false\\"
607
- >
608
- <aui-radio-button [value]=\\"true\\">是</aui-radio-button>
609
- <aui-radio-button [value]=\\"false\\">否</aui-radio-button>
610
- </aui-radio-group>
611
- </aui-form-item>
612
- <aui-tab-group [lazy]=\\"lazy\\">
613
- <aui-tab label =\\"Tab 1\\">
614
- <tabs-active-test *auiTabContent
615
- ><aui-card >Content 1</aui-card ></tabs-active-test
616
- >
617
- </aui-tab >
618
- <aui-tab label =\\"Tab 2\\">
619
- <tabs-active-test *auiTabContent>
620
- <aui-tab-group [lazy]=\\"true\\">
621
- <aui-tab label =\\"Tab 2-1\\">
622
- <tabs-active-test *auiTabContent>
623
- <aui-card> Content 2-1 </aui-card>
624
- </tabs-active-test>
625
- </aui-tab>
626
- <aui-tab label =\\"Tab 2-2\\">
627
- <tabs-active-test *auiTabContent>
628
- <aui-card> Content 2-2 </aui-card>
629
- </tabs-active-test>
630
- </aui-tab>
631
- </aui-tab-group>
632
- </tabs-active-test>
633
- </aui-tab>
634
- </aui-tab-group
635
- " ,
636
- },
637
- " line": 302,
638
- " message" : " Templates should be properly indented." ,
639
- " messageId" : " template-indent" ,
640
- " nodeType" : " TemplateLiteral" ,
641
- " ruleId" : " unicorn/template-indent" ,
642
- " severity" : 2,
643
- },
644
376
Object {
645
377
" column" : 6 ,
646
378
" endColumn" : 6 ,
@@ -652,35 +384,11 @@ Array [
652
384
" ruleId" : " no-unused-expressions" ,
653
385
" severity" : 2 ,
654
386
},
655
- Object {
656
- " column" : 28 ,
657
- " endColumn" : 8 ,
658
- " endLine" : 359 ,
659
- " fix" : Object {
660
- " range" : Array [
661
- 8305 ,
662
- 8736 ,
663
- ],
664
- " text" : "
665
- <aui-tab-group size=\\ " large \\" >
666
- <ng-container *auiTabTitle>Title</ng-container>
667
- <aui-tab label =\\"Tab 0\\"> <aui-card> Content 1 </aui-card> </aui-tab>
668
- <aui-tab label =\\"Tab 1\\"><aui-card> Content 2 </aui-card></aui-tab>
669
- <aui-tab label =\\"Tab 2\\"><aui-card> Content 3 </aui-card></aui-tab>
670
- <aui-tab label =\\"Tab 3\\"><aui-card> Content 4 </aui-card></aui-tab>
671
- </aui-tab-group>
672
- " ,
673
- },
674
- " line": 351,
675
- " message" : " Templates should be properly indented." ,
676
- " messageId" : " template-indent" ,
677
- " nodeType" : " TemplateLiteral" ,
678
- " ruleId" : " unicorn/template-indent" ,
679
- " severity" : 2,
680
- },
681
387
]
682
388
` ;
683
389
390
+ exports[` fixtures should match all snapshots : 391.mdx 1 ` ] = ` Array []` ;
391
+
684
392
exports[` fixtures should match all snapshots : acorn .mdx 1 ` ] = `
685
393
Array [
686
394
Object {
0 commit comments