From ad74f0cffe1f1599477da71b40b756dce6d42104 Mon Sep 17 00:00:00 2001 From: Max Coplan Date: Tue, 24 Mar 2020 12:13:13 -0400 Subject: [PATCH 1/2] Docs: Add further reading to rule This article really is the clearest explanation of this rule and how to understand it. --- docs/rules/no-return-await.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/rules/no-return-await.md b/docs/rules/no-return-await.md index 02ba9af02a9..f8ec4d93eca 100644 --- a/docs/rules/no-return-await.md +++ b/docs/rules/no-return-await.md @@ -47,3 +47,4 @@ If you want to use `await` to denote a value that is a thenable, even when it is ## Further Reading [`async function` on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) +[`await vs return vs return await` by Jake Archibald](https://jakearchibald.com/2017/await-vs-return-vs-return-await/) From f15fcc28fdf7f22edf7e9554e09aee302e03bea9 Mon Sep 17 00:00:00 2001 From: Max Coplan Date: Wed, 25 Mar 2020 11:41:57 -0400 Subject: [PATCH 2/2] Docs: Fix line spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit my b 😂 --- docs/rules/no-return-await.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/rules/no-return-await.md b/docs/rules/no-return-await.md index f8ec4d93eca..a79a46d8483 100644 --- a/docs/rules/no-return-await.md +++ b/docs/rules/no-return-await.md @@ -47,4 +47,5 @@ If you want to use `await` to denote a value that is a thenable, even when it is ## Further Reading [`async function` on MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) + [`await vs return vs return await` by Jake Archibald](https://jakearchibald.com/2017/await-vs-return-vs-return-await/)