Skip to content

Commit

Permalink
docs: fix logical-assignment-operators option typo (#16346)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilsson committed Sep 24, 2022
1 parent a578780 commit 7214347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/rules/logical-assignment-operators.md
Expand Up @@ -99,7 +99,7 @@ This option checks for additional patterns with if statements which could be exp
::: incorrect
Examples of **incorrect** code for this rule with the `["always", { enforceIfStatements: true }]` option:
Examples of **incorrect** code for this rule with the `["always", { enforceForIfStatements: true }]` option:
```js
/*eslint logical-assignment-operators: ["error", "always", { enforceForIfStatements: true }]*/
Expand All @@ -113,7 +113,7 @@ if (a === null || a === undefined) a = b // <=> a ??= b
:::
Examples of **correct** code for this rule with the `["always", { enforceIfStatements: true }]` option:
Examples of **correct** code for this rule with the `["always", { enforceForIfStatements: true }]` option:
::: correct
Expand Down

0 comments on commit 7214347

Please sign in to comment.