Skip to content

Commit 8947cb3

Browse files
authored
Merge pull request #500 from rahuldkjain/issue-499
fix: html.jsx linting
2 parents b23cab5 + 7898e38 commit 8947cb3

File tree

7 files changed

+374
-98
lines changed

7 files changed

+374
-98
lines changed

src/components/__tests__/__snapshots__/addons.test.js.snap

Lines changed: 42 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ exports[`Addons should render Customize Badges 1`] = `
368368
type="checkbox"
369369
/>
370370
<span
371-
class="checkbox-label__control"
371+
className="checkbox-label__control"
372372
/>
373373
<span
374374
className="pl-4"
@@ -385,6 +385,7 @@ exports[`Addons should render Customize Badges 1`] = `
385385
"outline": "none",
386386
}
387387
}
388+
type="button"
388389
>
389390
<XCircleIcon
390391
className="transform scale-100 md:scale-125"
@@ -515,6 +516,7 @@ exports[`Addons should render Customize Badges 1`] = `
515516
>
516517
Preview: 
517518
<img
519+
alt="profile-visitors-count"
518520
src="https://komarev.com/ghpvc/?username=undefined&label=Profile%20views&color=0e75b6&style=flat"
519521
/>
520522
</span>
@@ -543,7 +545,7 @@ exports[`Addons should render Customize Badges 1`] = `
543545
type="checkbox"
544546
/>
545547
<span
546-
class="checkbox-label__control"
548+
className="checkbox-label__control"
547549
/>
548550
<span
549551
className="pl-4"
@@ -595,7 +597,7 @@ exports[`Addons should render Customize Badges 1`] = `
595597
type="checkbox"
596598
/>
597599
<span
598-
class="checkbox-label__control"
600+
className="checkbox-label__control"
599601
/>
600602
<span
601603
className="pl-4"
@@ -612,6 +614,7 @@ exports[`Addons should render Customize Badges 1`] = `
612614
"outline": "none",
613615
}
614616
}
617+
type="button"
615618
>
616619
<ToolsIcon
617620
className="transform scale-100 md:scale-125"
@@ -685,7 +688,7 @@ exports[`Addons should render Customize Badges 1`] = `
685688
type="checkbox"
686689
/>
687690
<span
688-
class="checkbox-label__control"
691+
className="checkbox-label__control"
689692
/>
690693
<span
691694
className="pl-4"
@@ -702,6 +705,7 @@ exports[`Addons should render Customize Badges 1`] = `
702705
"outline": "none",
703706
}
704707
}
708+
type="button"
705709
>
706710
<ToolsIcon
707711
className="transform scale-100 md:scale-125"
@@ -763,7 +767,7 @@ exports[`Addons should render Customize Badges 1`] = `
763767
type="checkbox"
764768
/>
765769
<span
766-
class="checkbox-label__control"
770+
className="checkbox-label__control"
767771
/>
768772
<span
769773
className="pl-4"
@@ -780,6 +784,7 @@ exports[`Addons should render Customize Badges 1`] = `
780784
"outline": "none",
781785
}
782786
}
787+
type="button"
783788
>
784789
<ToolsIcon
785790
className="transform scale-100 md:scale-125"
@@ -831,7 +836,7 @@ exports[`Addons should render Customize Badges 1`] = `
831836
type="checkbox"
832837
/>
833838
<span
834-
class="checkbox-label__control"
839+
className="checkbox-label__control"
835840
/>
836841
<span
837842
className="pl-4"
@@ -861,7 +866,7 @@ exports[`Addons should render Customize Badges 1`] = `
861866
type="checkbox"
862867
/>
863868
<span
864-
class="checkbox-label__control"
869+
className="checkbox-label__control"
865870
/>
866871
<span
867872
className="pl-4"
@@ -891,7 +896,7 @@ exports[`Addons should render Customize Badges 1`] = `
891896
type="checkbox"
892897
/>
893898
<span
894-
class="checkbox-label__control"
899+
className="checkbox-label__control"
895900
/>
896901
<span
897902
className="pl-4"
@@ -921,7 +926,7 @@ exports[`Addons should render Customize Badges 1`] = `
921926
type="checkbox"
922927
/>
923928
<span
924-
class="checkbox-label__control"
929+
className="checkbox-label__control"
925930
/>
926931
<span
927932
className="pl-4"
@@ -1070,7 +1075,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
10701075
type="checkbox"
10711076
/>
10721077
<span
1073-
class="checkbox-label__control"
1078+
className="checkbox-label__control"
10741079
/>
10751080
<span
10761081
className="pl-4"
@@ -1087,6 +1092,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
10871092
"outline": "none",
10881093
}
10891094
}
1095+
type="button"
10901096
>
10911097
<ToolsIcon
10921098
className="transform scale-100 md:scale-125"
@@ -1138,7 +1144,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
11381144
type="checkbox"
11391145
/>
11401146
<span
1141-
class="checkbox-label__control"
1147+
className="checkbox-label__control"
11421148
/>
11431149
<span
11441150
className="pl-4"
@@ -1190,7 +1196,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
11901196
type="checkbox"
11911197
/>
11921198
<span
1193-
class="checkbox-label__control"
1199+
className="checkbox-label__control"
11941200
/>
11951201
<span
11961202
className="pl-4"
@@ -1207,6 +1213,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
12071213
"outline": "none",
12081214
}
12091215
}
1216+
type="button"
12101217
>
12111218
<XCircleIcon
12121219
className="transform scale-100 md:scale-125"
@@ -1406,7 +1413,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
14061413
type="checkbox"
14071414
/>
14081415
<span
1409-
class="checkbox-label__control"
1416+
className="checkbox-label__control"
14101417
/>
14111418
</label>
14121419
<label
@@ -1483,7 +1490,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
14831490
type="checkbox"
14841491
/>
14851492
<span
1486-
class="checkbox-label__control"
1493+
className="checkbox-label__control"
14871494
/>
14881495
<span
14891496
className="pl-4"
@@ -1500,6 +1507,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
15001507
"outline": "none",
15011508
}
15021509
}
1510+
type="button"
15031511
>
15041512
<ToolsIcon
15051513
className="transform scale-100 md:scale-125"
@@ -1561,7 +1569,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
15611569
type="checkbox"
15621570
/>
15631571
<span
1564-
class="checkbox-label__control"
1572+
className="checkbox-label__control"
15651573
/>
15661574
<span
15671575
className="pl-4"
@@ -1578,6 +1586,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
15781586
"outline": "none",
15791587
}
15801588
}
1589+
type="button"
15811590
>
15821591
<ToolsIcon
15831592
className="transform scale-100 md:scale-125"
@@ -1629,7 +1638,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
16291638
type="checkbox"
16301639
/>
16311640
<span
1632-
class="checkbox-label__control"
1641+
className="checkbox-label__control"
16331642
/>
16341643
<span
16351644
className="pl-4"
@@ -1659,7 +1668,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
16591668
type="checkbox"
16601669
/>
16611670
<span
1662-
class="checkbox-label__control"
1671+
className="checkbox-label__control"
16631672
/>
16641673
<span
16651674
className="pl-4"
@@ -1689,7 +1698,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
16891698
type="checkbox"
16901699
/>
16911700
<span
1692-
class="checkbox-label__control"
1701+
className="checkbox-label__control"
16931702
/>
16941703
<span
16951704
className="pl-4"
@@ -1719,7 +1728,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
17191728
type="checkbox"
17201729
/>
17211730
<span
1722-
class="checkbox-label__control"
1731+
className="checkbox-label__control"
17231732
/>
17241733
<span
17251734
className="pl-4"
@@ -1868,7 +1877,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
18681877
type="checkbox"
18691878
/>
18701879
<span
1871-
class="checkbox-label__control"
1880+
className="checkbox-label__control"
18721881
/>
18731882
<span
18741883
className="pl-4"
@@ -1885,6 +1894,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
18851894
"outline": "none",
18861895
}
18871896
}
1897+
type="button"
18881898
>
18891899
<ToolsIcon
18901900
className="transform scale-100 md:scale-125"
@@ -1936,7 +1946,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
19361946
type="checkbox"
19371947
/>
19381948
<span
1939-
class="checkbox-label__control"
1949+
className="checkbox-label__control"
19401950
/>
19411951
<span
19421952
className="pl-4"
@@ -1988,7 +1998,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
19881998
type="checkbox"
19891999
/>
19902000
<span
1991-
class="checkbox-label__control"
2001+
className="checkbox-label__control"
19922002
/>
19932003
<span
19942004
className="pl-4"
@@ -2005,6 +2015,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
20052015
"outline": "none",
20062016
}
20072017
}
2018+
type="button"
20082019
>
20092020
<ToolsIcon
20102021
className="transform scale-100 md:scale-125"
@@ -2078,7 +2089,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
20782089
type="checkbox"
20792090
/>
20802091
<span
2081-
class="checkbox-label__control"
2092+
className="checkbox-label__control"
20822093
/>
20832094
<span
20842095
className="pl-4"
@@ -2095,6 +2106,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
20952106
"outline": "none",
20962107
}
20972108
}
2109+
type="button"
20982110
>
20992111
<XCircleIcon
21002112
className="transform scale-100 md:scale-125"
@@ -2294,7 +2306,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
22942306
type="checkbox"
22952307
/>
22962308
<span
2297-
class="checkbox-label__control"
2309+
className="checkbox-label__control"
22982310
/>
22992311
</label>
23002312
<label
@@ -2359,7 +2371,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
23592371
type="checkbox"
23602372
/>
23612373
<span
2362-
class="checkbox-label__control"
2374+
className="checkbox-label__control"
23632375
/>
23642376
<span
23652377
className="pl-4"
@@ -2376,6 +2388,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
23762388
"outline": "none",
23772389
}
23782390
}
2391+
type="button"
23792392
>
23802393
<ToolsIcon
23812394
className="transform scale-100 md:scale-125"
@@ -2427,7 +2440,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
24272440
type="checkbox"
24282441
/>
24292442
<span
2430-
class="checkbox-label__control"
2443+
className="checkbox-label__control"
24312444
/>
24322445
<span
24332446
className="pl-4"
@@ -2457,7 +2470,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
24572470
type="checkbox"
24582471
/>
24592472
<span
2460-
class="checkbox-label__control"
2473+
className="checkbox-label__control"
24612474
/>
24622475
<span
24632476
className="pl-4"
@@ -2487,7 +2500,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
24872500
type="checkbox"
24882501
/>
24892502
<span
2490-
class="checkbox-label__control"
2503+
className="checkbox-label__control"
24912504
/>
24922505
<span
24932506
className="pl-4"
@@ -2517,7 +2530,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
25172530
type="checkbox"
25182531
/>
25192532
<span
2520-
class="checkbox-label__control"
2533+
className="checkbox-label__control"
25212534
/>
25222535
<span
25232536
className="pl-4"

src/components/__tests__/__snapshots__/footer.test.js.snap

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ exports[`Footer component renders correctly 1`] = `
2424
<div
2525
className="mr-2 sm:mr-0"
2626
>
27-
GitHub Profile
28-
27+
GitHub Profile
2928
<img
3029
alt="github profile markdown generator logo"
3130
className="inline sm:hidden h-12"

0 commit comments

Comments
 (0)