From 79fc33314b97cb3db4042c521b08704f9bbf30fb Mon Sep 17 00:00:00 2001 From: smol-ninja Date: Fri, 10 May 2024 11:50:51 +0100 Subject: [PATCH] refactor: lint --- docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx | 4 ++-- .../contracts/v2/guides/create-stream/02-lockup-dynamic.mdx | 5 +++-- tsconfig.json | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx b/docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx index b43e757c..e052513a 100644 --- a/docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx +++ b/docs/contracts/v2/guides/create-stream/01-lockup-linear.mdx @@ -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; diff --git a/docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx b/docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx index 84879cc2..ce86357b 100644 --- a/docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx +++ b/docs/contracts/v2/guides/create-stream/02-lockup-dynamic.mdx @@ -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; diff --git a/tsconfig.json b/tsconfig.json index 0e5118ed..5b33bcb6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"], }