Skip to content

[bug] @eslint-react/jsx-key-before-spread missing from all presets except all #1290

@jkbdk

Description

@jkbdk

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

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions