Re: [whatwg/streams] Add @@asyncIterator to ReadableStream (#980)

ricea commented on this pull request.



> @@ -160,7 +160,16 @@
     "id-blacklist": "off",
     "id-length": "off",
     "id-match": "off",
-    "indent": ["error", 2, { "SwitchCase": 1 }],
+    "indent": ["error", 2, {
+      "SwitchCase": 1,
+      "MemberExpression": 2,
+      "FunctionDeclaration": { "parameters": "first" },

> Alternatively, I can change all of those:
> 
> ```js
> promise.then(() => {
>   /* ... */
> })
> .catch(rethrowAssertionErrorRejection);
> ```
> 
> to:
> 
> ```js
> promise.then(() => {
>   /* ... */
> }).catch(rethrowAssertionErrorRejection);
> ```

I like this idea, but let's see what @domenic says. These statements predate my involvement in the project.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/980#discussion_r253409079

Received on Monday, 4 February 2019 10:15:58 UTC