Disable MD041/first-line-heading/first-line-h1 - md lint

This commit is contained in:
Gene Hoffman 2020-09-08 11:52:59 -07:00 committed by Gene Hoffman
parent c9f703b5c6
commit 43cdbb90b9
3 changed files with 11 additions and 10 deletions

View File

@ -30,6 +30,7 @@ MD026:
MD029: false # Ordered list item prefix
MD033: false # Allow inline HTML
MD036: false # Emphasis used instead of a heading
MD041: false # Allow file to start without h1
#################
# Rules by tags #

View File

@ -4,9 +4,9 @@ Card with Icon & Button:
import FarmIcon from "../../assets/img/noun_Farm.svg";
import Link from '@material-ui/core/Link';
<Card
actionText="Add a Plot"
onAction={() => {console.log("Add a Plot!")}}
<Card
actionText="Add a Plot"
onAction={() => {console.log("Add a Plot!")}}
iconSrc={FarmIcon}
>
Farmers earn block rewards and transaction fees by committing spare space to the network to help secure transactions. This is where your farm will be once you add a plot. <Link href="#">Learn more</Link>
@ -18,9 +18,9 @@ Card with only Button:
```jsx
import Link from '@material-ui/core/Link';
<Card
actionText="Add a Plot"
onAction={() => {console.log("Add a Plot!")}}
<Card
actionText="Add a Plot"
onAction={() => {console.log("Add a Plot!")}}
>
Farmers earn block rewards and transaction fees by committing spare space to the network to help secure transactions. This is where your farm will be once you add a plot. <Link href="#">Learn more</Link>
</Card>
@ -32,7 +32,7 @@ Card with only Icon:
import FarmIcon from "../../assets/img/noun_Farm.svg";
import Link from '@material-ui/core/Link';
<Card
<Card
iconSrc={FarmIcon}
>
Farmers earn block rewards and transaction fees by committing spare space to the network to help secure transactions. This is where your farm will be once you add a plot. <Link href="#">Learn more</Link>

View File

@ -1,7 +1,7 @@
Single-Row Table:
```jsx
<Table
<Table
header={["Total Chia Farmed", "XCH Farming Rewards", "XCH Feed Collected", "Last Height Farmed"]}
data={[10, 5120, "31.20", 2029]}
/>
@ -10,7 +10,7 @@ Single-Row Table:
Multi-Row Table:
```jsx
<Table
<Table
header={["Challenge Hash", "Height", "Number of Proofs", "Best Estimate"]}
data={[
["Oxa6582dba...", 2029, 0, "309536343 seconds"],
@ -20,4 +20,4 @@ Multi-Row Table:
["Oxa6582dba...", 2029, 0, ""],
]}
/>
```
```