From cdc417f32ad7855d696ae720b9bcc71e8200fc36 Mon Sep 17 00:00:00 2001 From: t-mangoe Date: Sat, 3 Apr 2021 17:25:47 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20modify=20the=20document=20according=20?= =?UTF-8?q?to=20comments=E3=80=80(refs=20#12545)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/rules/no-multi-assign.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/no-multi-assign.md b/docs/rules/no-multi-assign.md index d5a3bd41023..7ef70567593 100644 --- a/docs/rules/no-multi-assign.md +++ b/docs/rules/no-multi-assign.md @@ -54,7 +54,7 @@ This rule has an object option: Examples of **correct** code for the `{ "ignoreNonDeclaration": true }` option: ```js -/*eslint no-multi-assign: ["error", { ignoreNonDeclaration: true }]*/ +/*eslint no-multi-assign: ["error", { "ignoreNonDeclaration": true }]*/ let a; let b; @@ -68,7 +68,7 @@ x.one = y.one = 1; Examples of **incorrect** code for the `{ "ignoreNonDeclaration": true }` option: ```js -/*eslint no-multi-assign: ["error", { ignoreNonDeclaration: true }]*/ +/*eslint no-multi-assign: ["error", { "ignoreNonDeclaration": true }]*/ let a = b = "baz";