diff --git a/docs/src/rules/logical-assignment-operators.md b/docs/src/rules/logical-assignment-operators.md index 3f9350031f3..058afcd3ad7 100644 --- a/docs/src/rules/logical-assignment-operators.md +++ b/docs/src/rules/logical-assignment-operators.md @@ -96,10 +96,10 @@ a = a ?? b This option checks for additional patterns with if statements which could be expressed with the logical assignment operator. -::: incorrect - Examples of **incorrect** code for this rule with the `["always", { enforceForIfStatements: true }]` option: +::: incorrect + ```js /*eslint logical-assignment-operators: ["error", "always", { enforceForIfStatements: true }]*/