From 56bf864bce454c395a41b37587cb533cf4cbeccb Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Thu, 10 Mar 2016 10:03:08 -0700 Subject: [PATCH] Docs: Create parity between no-sequences examples --- docs/rules/no-sequences.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rules/no-sequences.md b/docs/rules/no-sequences.md index 3f9daeba3b6..bd9c6d5e1bb 100644 --- a/docs/rules/no-sequences.md +++ b/docs/rules/no-sequences.md @@ -9,7 +9,7 @@ a = b += 5, a + b; while (a = next(), a && a.length); -(0,eval)("doSomething();"); +(0, eval)("doSomething();"); ``` ## Rule Details @@ -24,7 +24,7 @@ The following patterns are considered problems: ```js /*eslint no-sequences: 2*/ -foo = doSomething, val; +foo = doSomething(), val; do {} while (doSomething(), !!test); @@ -46,7 +46,7 @@ The following patterns are not considered problems: foo = (doSomething(), val); -(0,eval)("doSomething();"); +(0, eval)("doSomething();"); do {} while ((doSomething(), !!test));