eslint-plugin-react icon indicating copy to clipboard operation
eslint-plugin-react copied to clipboard

[Bug]: jsx-props-no-spread-multi has poor advice under "When Not To Use It"

Open VandinVanadium opened this issue 1 month ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues and my issue is unique
  • [ ] My issue appears in the command-line and not only in the text editor

Description Overview

The lint rule jsx-props-no-spread-multi has poor advice under "When Not To Use It".

See the documentation: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-spread-multi.md

The advice seems contrary to what you want to achieve. Maybe it would be better to state that the rule is not needed if you already have turned on jsx-props-no-spreading.

Documentation flaw.

eslint-plugin-react version

v7.37.5

eslint version

v9.37.0

node version

v20.19.2

VandinVanadium avatar Oct 25 '25 16:10 VandinVanadium