Skip to content

Commit

Permalink
Merge pull request #500 from rahuldkjain/issue-499
Browse files Browse the repository at this point in the history
fix: html.jsx linting
  • Loading branch information
rahuldkjain authored Oct 31, 2021
2 parents b23cab5 + 7898e38 commit 8947cb3
Show file tree
Hide file tree
Showing 7 changed files with 374 additions and 98 deletions.
71 changes: 42 additions & 29 deletions src/components/__tests__/__snapshots__/addons.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -385,6 +385,7 @@ exports[`Addons should render Customize Badges 1`] = `
"outline": "none",
}
}
type="button"
>
<XCircleIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -515,6 +516,7 @@ exports[`Addons should render Customize Badges 1`] = `
>
Preview: 
<img
alt="profile-visitors-count"
src="https://komarev.com/ghpvc/?username=undefined&label=Profile%20views&color=0e75b6&style=flat"
/>
</span>
Expand Down Expand Up @@ -543,7 +545,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -595,7 +597,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -612,6 +614,7 @@ exports[`Addons should render Customize Badges 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -685,7 +688,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -702,6 +705,7 @@ exports[`Addons should render Customize Badges 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -763,7 +767,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -780,6 +784,7 @@ exports[`Addons should render Customize Badges 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -831,7 +836,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -861,7 +866,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -891,7 +896,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -921,7 +926,7 @@ exports[`Addons should render Customize Badges 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1070,7 +1075,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -1087,6 +1092,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -1138,7 +1144,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1190,7 +1196,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -1207,6 +1213,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
"outline": "none",
}
}
type="button"
>
<XCircleIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -1406,7 +1413,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
</label>
<label
Expand Down Expand Up @@ -1483,7 +1490,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -1500,6 +1507,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -1561,7 +1569,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -1578,6 +1586,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -1629,7 +1638,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1659,7 +1668,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1689,7 +1698,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1719,7 +1728,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1868,7 +1877,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -1885,6 +1894,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -1936,7 +1946,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -1988,7 +1998,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -2005,6 +2015,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -2078,7 +2089,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -2095,6 +2106,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
"outline": "none",
}
}
type="button"
>
<XCircleIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -2294,7 +2306,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
</label>
<label
Expand Down Expand Up @@ -2359,7 +2371,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand All @@ -2376,6 +2388,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
"outline": "none",
}
}
type="button"
>
<ToolsIcon
className="transform scale-100 md:scale-125"
Expand Down Expand Up @@ -2427,7 +2440,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -2457,7 +2470,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -2487,7 +2500,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down Expand Up @@ -2517,7 +2530,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
type="checkbox"
/>
<span
class="checkbox-label__control"
className="checkbox-label__control"
/>
<span
className="pl-4"
Expand Down
3 changes: 1 addition & 2 deletions src/components/__tests__/__snapshots__/footer.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ exports[`Footer component renders correctly 1`] = `
<div
className="mr-2 sm:mr-0"
>
GitHub Profile
GitHub Profile
<img
alt="github profile markdown generator logo"
className="inline sm:hidden h-12"
Expand Down
Loading

1 comment on commit 8947cb3

@vercel
Copy link

@vercel vercel bot commented on 8947cb3 Oct 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.