Skip to content

react/jsx-no-undef allowGlobals option#1013

Merged
ljharb merged 1 commit intojsx-eslint:masterfrom
jomasti:jsx-no-undef-imported-only
Apr 23, 2017
Merged

react/jsx-no-undef allowGlobals option#1013
ljharb merged 1 commit intojsx-eslint:masterfrom
jomasti:jsx-no-undef-imported-only

Conversation

@jomasti
Copy link
Copy Markdown
Contributor

@jomasti jomasti commented Jan 5, 2017

This should allow for the use case outlined in #922.

With the disallowGlobals option enabled, the global scope will be ignored
when checking for defined components. Without this option enabled,
Pascal case global variables will be allowed when checking for defined
components.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants