"react/jsx-props-no-spreading": [
"error",
{
html: "ignore",
custom: "ignore",
explicitSpread: "enforce",
},
],
ESLint: 8.57.0
Error: .eslintrc.cjs:
Configuration for rule "react/jsx-props-no-spreading" is invalid:
Value {"html":"ignore","custom":"ignore","explicitSpread":"enforce"} should NOT be valid.
Does not crash.
Is there an existing issue for this?
Description Overview
This rule:
Results in this crash:
Reproduction:
https://stackblitz.com/edit/vitejs-vite-dyngku?file=eslint.config.js
Run
pnpm lint.Expected Behavior
Does not crash.
eslint-plugin-react version
^7.35.0
eslint version
^9.8.0
node version
v18.20.3