Skip to content

Commit

Permalink
Chore: modify the document according to comments (refs eslint#12545)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mangoe committed Apr 3, 2021
1 parent 44be9d3 commit cdc417f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-multi-assign.md
Expand Up @@ -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;
Expand All @@ -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";

Expand Down

0 comments on commit cdc417f

Please sign in to comment.