Skip to content

Commit

Permalink
docs: add no-unused-expressions rule for mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Jul 5, 2024
1 parent cc3872d commit 0b83e34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ overrides:
- "*.md"
- "*.mdx"
parser: "eslint-mdx"
rules:
no-unused-expressions: "off"
- files:
- "*.ts"
- "*.tsx"
Expand Down
2 changes: 1 addition & 1 deletion docs/contracts/v2/guides/04-create-airstream.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ after user A, then the stream for user B will end 2 days after the stream for us
### Aggregate Amount

This is the total amount of assets you want to airdrop to your users, denoted in units of the asset's decimals. Let say
you want to airdrop 100M tokens of DAI. Then, the aggregate amount would be 100M\*10^18.
you want to airdrop 100M tokens of DAI. Then, the aggregate amount would be $100M*10^{18}$.

```solidity
uint256 aggregateAmount = 100000000e18;
Expand Down

0 comments on commit 0b83e34

Please sign in to comment.