You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! 👋 I received a PR with a patch upgrade (see: adeira/universe#4976), containing 571 new errors. It turns out there was some breaking change in the react/no-unknown-property rule, and it currently fails on FBT nodes, for example:
<fbtdesc="test tooltip content title"doNotExtract={true}>
This is a test tooltip content.
</fbt>
Resulting in:
22:14 error Unknown property 'desc' found react/no-unknown-property
22:48 error Unknown property 'doNotExtract' found react/no-unknown-property
Hello! 👋 I received a PR with a patch upgrade (see: adeira/universe#4976), containing 571 new errors. It turns out there was some breaking change in the
react/no-unknown-property
rule, and it currently fails on FBT nodes, for example:Resulting in:
Recently, I reported several issues related to FBT, and they were all fixed, and some rules support it (https://github.com/jsx-eslint/eslint-plugin-react/search?q=fbt&type=code). But I agree that FBT is a bit awkward React citizen, so not sure if this is going to be taken very seriously. 😅
Thanks for having a look! 😎
The text was updated successfully, but these errors were encountered: