Skip to content

Commit

Permalink
refactor: ♻️ use react/jsx-props-no-spread-multi
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Nov 3, 2024
1 parent e7d8318 commit 456f270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/react.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/rules/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 456f270

Please sign in to comment.