From 456f270a0fad5e240192e0475e002a3caa53887a Mon Sep 17 00:00:00 2001 From: jimmy-guzman Date: Sun, 3 Nov 2024 16:54:27 -0600 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20use=20`react/j?= =?UTF-8?q?sx-props-no-spread-multi`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rules/__snapshots__/react.spec.ts.snap | 1 + src/rules/react.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/rules/__snapshots__/react.spec.ts.snap b/src/rules/__snapshots__/react.spec.ts.snap index 74bc240..df4ba8d 100644 --- a/src/rules/__snapshots__/react.spec.ts.snap +++ b/src/rules/__snapshots__/react.spec.ts.snap @@ -241,6 +241,7 @@ exports[`should create react rules 1`] = ` "allowNamespace": true, }, ], + "react/jsx-props-no-spread-multi": "off", "react/jsx-props-no-spreading": "off", "react/jsx-sort-default-props": "off", "react/jsx-sort-props": "off", diff --git a/src/rules/react.ts b/src/rules/react.ts index a170930..1c96a75 100644 --- a/src/rules/react.ts +++ b/src/rules/react.ts @@ -37,6 +37,7 @@ export const reactRules = { "react/jsx-no-useless-fragment": "error", "react/jsx-one-expression-per-line": "off", "react/jsx-pascal-case": ["error", { allowNamespace: true }], + "react/jsx-props-no-spread-multi": "off", "react/jsx-props-no-spreading": "off", "react/jsx-sort-default-props": "off", "react/jsx-sort-props": "off",