Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forbid-dom-props: support JSXNamespacedName #2961

Merged
merged 1 commit into from Apr 7, 2021
Merged

forbid-dom-props: support JSXNamespacedName #2961

merged 1 commit into from Apr 7, 2021

Commits on Apr 6, 2021

  1. [Fix] forbid-dom-props: support JSXNamespacedName

    This rather strange pattern is common in [FBT](https://facebook.github.io/fbt/docs/params) and valid according to [JSX](http://facebook.github.io/jsx/) (see `JSXNamespacedName`). Without this change the rule fails on the following error:
    
    ```
    TypeError: Cannot read property 'toUpperCase' of undefined
    ```
    
    See: adeira/universe#2005
    mrtnzlml authored and ljharb committed Apr 6, 2021
    Copy the full SHA
    2f376e0 View commit details
    Browse the repository at this point in the history