🐛 React-only lint rule useJsxKeyInIterable in Biome recommended config #5024
Labels
A-Linter
Area: linter
good first issue
Good for newcomers
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
We use Biome for linting and formatting in our SolidJS project. Today I noticed the useJsxKeyInIterable rule failing because I didn't include React's "key" attribute in my div. This is a React-only rule and it isn't satisfiable in SolidJS (adding "key" causes a type error since it's a React attribute, not an HTMLDivElement attribute), so I had to disable it to use Biome with SolidJS.
Expected result
Since Biome is not a React-only linter, I would expect the default config not to include rules that only apply for React.
Code of Conduct
The text was updated successfully, but these errors were encountered: