feat: Lint paragraphs except in test files & fix

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2022-12-15 00:02:48 -05:00
committed by Carlos Lopez
parent 8de0276086
commit e75f39e603
16 changed files with 60 additions and 40 deletions
@@ -36,9 +36,9 @@ export default {
export const InHeader = () => (
<MemoryRouter>
<h2>Standard breadcrumbs</h2>
<p>
<Typography>
Underlined pages are links. This should show a hierarchical relationship.
</p>
</Typography>
<Page themeId="other">
<Header title="Current Page" type="General Page" typeLink="/" />
@@ -61,17 +61,17 @@ export const OutsideOfHeader = () => {
const open = Boolean(anchorEl);
return (
<MemoryRouter>
<p>
<Typography>
It might be the case that you want to keep your breadcrumbs outside of
the header. In that case, they should be positioned above the title of
the page.
</p>
</Typography>
<h2>Standard breadcrumbs</h2>
<p>
<Typography>
Underlined pages are links. This should show a hierarchical
relationship.
</p>
</Typography>
<Breadcrumbs color="primaryText" />
@@ -82,10 +82,10 @@ export const OutsideOfHeader = () => {
</Breadcrumbs>
<h2>Hidden breadcrumbs</h2>
<p>
<Typography>
Use this when you have more than three breadcrumbs. When user clicks on
ellipses, expand the breadcrumbs out.
</p>
</Typography>
<Breadcrumbs color="primaryText">
<Link to="/">General Page</Link>
@@ -96,10 +96,10 @@ export const OutsideOfHeader = () => {
</Breadcrumbs>
<h2>Layered breadcrumbs</h2>
<p>
<Typography>
Use this when you want to show alternative breadcrumbs on the same
hierarchical level.
</p>
</Typography>
<Fragment>
<Breadcrumbs color="primaryText">