Skip to content

Commit

Permalink
refactor: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed May 10, 2024
1 parent 4a1d02e commit 79fc333
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ For more guidance on how to approve and transfer ERC-20 assets, see
## Parameters

Sablier uses structs to encode the parameters of its create functions. The struct associated with `createWithDurations`
is [`LockupLinear.CreateWithDurations`](/contracts/v2/reference/core/types/library.LockupLinear#createwithdurations), and it can be
initialized like this:
is [`LockupLinear.CreateWithDurations`](/contracts/v2/reference/core/types/library.LockupLinear#createwithdurations),
and it can be initialized like this:

```solidity
LockupLinear.CreateWithDurations memory params;
Expand Down
5 changes: 3 additions & 2 deletions docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ For more guidance on how to approve and transfer ERC-20 assets, see
## Parameters

Sablier uses structs to encode the parameters of its create functions. The struct associated with `createWithDurations`
is [`LockupDynamic.CreateWithMilestones`](/contracts/v2/reference/core/types/library.LockupDynamic#createwithmilestones), and it can be
initialized like this:
is
[`LockupDynamic.CreateWithMilestones`](/contracts/v2/reference/core/types/library.LockupDynamic#createwithmilestones),
and it can be initialized like this:

```solidity
LockupDynamic.CreateWithMilestones memory params;
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"moduleResolution": "node",
"module": "ESNext",
"paths": {
"react": ["./node_modules/@types/react"]
"react": ["./node_modules/@types/react"],
},
"target": "ESNext"
"target": "ESNext",
},
"exclude": [".docusaurus", "node_modules", "static/js"],
"include": ["**/*.js", "**/*.ts", "**/*.tsx"]
"include": ["**/*.js", "**/*.ts", "**/*.tsx"],
}

0 comments on commit 79fc333

Please sign in to comment.