From 29c2e688afa7d9b8873d97c3961b65805d87cf2a Mon Sep 17 00:00:00 2001 From: Hideaki Noshiro <46040697+noshiro-pf@users.noreply.github.com> Date: Fri, 3 Nov 2023 02:05:33 +0900 Subject: [PATCH] docs: flip the flag of skipCompoundAssignments in the example (#7868) --- packages/eslint-plugin/docs/rules/restrict-plus-operands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/docs/rules/restrict-plus-operands.md b/packages/eslint-plugin/docs/rules/restrict-plus-operands.md index 3438796b3dc..e88e20644b8 100644 --- a/packages/eslint-plugin/docs/rules/restrict-plus-operands.md +++ b/packages/eslint-plugin/docs/rules/restrict-plus-operands.md @@ -170,7 +170,7 @@ let fn = (a: string, b: RegExp) => a + b; ### `skipCompoundAssignments` -Examples of code for this rule with `{ skipCompoundAssignments: true }`: +Examples of code for this rule with `{ skipCompoundAssignments: false }`: