Update S6477 (`jsx-key`): Enable the rule only on React projects

Description

S6477 looks for unknown attributes in JSX. However, the list of attributes implicitly assumes one is using React. In the case of SolidJS, this would often raise false positives. See Community post:

It is likely that this happens also with other frameworks that use JSX.

We should consider only enabling this rule when React is detected.

Activity

Show:
Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created July 8, 2024 at 4:39 PM
Updated October 16, 2024 at 12:53 PM
Resolved September 24, 2024 at 7:27 AM