From 77ad0a308719741c59413eadcac3d254239819a6 Mon Sep 17 00:00:00 2001 From: noshiro-pf Date: Fri, 3 Nov 2023 00:26:12 +0900 Subject: [PATCH] docs: flip the flag of skipCompoundAssignments in the example --- 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 3438796b3dc3..e88e20644b8a 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 }`: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy