-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
PR WelcomeStatus: ReleasedThe issue has been releasedThe issue has been releasedType: BugSomething isn't workingSomething isn't working
Description
Describe the bug
The rule jsx-key-before-spread is missing from all presets except for the all preset.
This likely happened when changing the name of the preset from core to x
Related PR #1238
I think its easy to fix and i am happy to provide a pr :)
Reproduction
Minimal repo: https://stackblitz.com/edit/vitejs-vite-mzjdtxot?file=eslint.config.js
Enable the commented line inside the extends and the run npm run lint
inside the console
Expected behavior
When extending the recommended-typescript config inside the eslint config the jsx-key-before-spread rule should be activated but it turns out it isn't.
Platform and versions
node 22
"@eslint-react/eslint-plugin": "^2.2.2"
typescript 5.8.2
Stack trace
Additional context
No response
Metadata
Metadata
Assignees
Labels
PR WelcomeStatus: ReleasedThe issue has been releasedThe issue has been releasedType: BugSomething isn't workingSomething isn't working