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

Bug: no-name-mismatch eslint rule isn't recursive #16

Closed
asbjornh opened this issue Sep 3, 2020 · 1 comment
Closed

Bug: no-name-mismatch eslint rule isn't recursive #16

asbjornh opened this issue Sep 3, 2020 · 1 comment

Comments

@asbjornh
Copy link
Owner

asbjornh commented Sep 3, 2020

import Abcd from 'ab-cd';

Blabla.propTypes = {
  a: PropTypes.shape({
    b: PropTypes.exact(Abcd.propTypes), // Should error here
  })
}

The above example should have an error but it does not

@asbjornh asbjornh changed the title Bug: no-name-mismatch rule isn't recursive Bug: no-name-mismatch and no-errors rules aren't recursive Sep 3, 2020
@asbjornh asbjornh changed the title Bug: no-name-mismatch and no-errors rules aren't recursive Bug: no-name-mismatch eslint rule isn't recursive Sep 3, 2020
@asbjornh
Copy link
Owner Author

asbjornh commented Sep 3, 2020

Fixed in 2.1.2

@asbjornh asbjornh closed this as completed Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant