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

jsx-no-undef doesn't catch lowercase object access #435

Closed
SystemParadox opened this issue Feb 9, 2016 · 1 comment
Closed

jsx-no-undef doesn't catch lowercase object access #435

SystemParadox opened this issue Feb 9, 2016 · 1 comment

Comments

@SystemParadox
Copy link
Contributor

Further to #172, jsx-no-undef does not catch lowercase object access.

This warns as expected:

<Foo.Bar />

This does not:

<foo.Bar />

Presumably it's being excluded by the code which ignores builtin tags such as <div>, etc. Object access should always be treated as a variable reference, regardless of case.

Thanks very much.

@SystemParadox
Copy link
Contributor Author

Excellent. Thanks very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant