Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up"react/jsx-no-undef" rule ignores "globals" setting. #1115
Comments
This comment has been minimized.
This comment has been minimized.
|
This Important note seems related: https://github.com/vkbansal/eslint-plugin-jsx-control-statements#important |
This comment has been minimized.
This comment has been minimized.
|
Can this |
feross
closed this
Apr 26, 2018
feross
reopened this
Apr 26, 2018
This comment has been minimized.
This comment has been minimized.
|
@DusanDimitric Yep, we can include this in the next release. |
feross
added this to the
standard v12 milestone
Apr 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks ;) |
DusanDimitric
closed this
Apr 26, 2018
This comment has been minimized.
This comment has been minimized.
|
I'm going to leave this issue open so that I remember to include this in the next release. |
feross
reopened this
Apr 30, 2018
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Jul 29, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Jul 29, 2018
stale
bot
closed this
Aug 5, 2018
This comment has been minimized.
This comment has been minimized.
bovas85
commented
Sep 27, 2018
|
I can see it's still giving an error here, can we please check this? |
This comment has been minimized.
This comment has been minimized.
ForkInSpace
commented
Nov 4, 2018
|
I second this ^ |
lock
bot
locked as resolved and limited conversation to collaborators
Feb 2, 2019
standard
unlocked this conversation
Aug 5, 2019
feross
modified the milestones:
standard v12,
standard v14
Aug 5, 2019
feross
reopened this
Aug 5, 2019
stale
bot
removed
the
stale
label
Aug 5, 2019
feross
added
the
accepted
label
Aug 5, 2019
feross
modified the milestones:
standard 14,
standard 15
Aug 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DusanDimitric commentedApr 23, 2018
•
edited
Hi, I'm using
standardwithreact-nativeandbabel-plugin-jsx-control-statements.Standard version: v11.0.1
Problem
standardshows errors forbabel-plugin-jsx-control-statementsglobals such asIf,Chooseetc. even though they're declared inpackage.json standard.globalsand thebabel-plugin-jsx-control-statementsis specified in.babelrc(as seen below)Example output
Expected behavior
standardshould not throwreact/jsx-no-undeferrors for variables declared in package.json > standard.globals:I've seen this line in the CHANGELOG.md:
But I guess it doesn't relate to this case.
Let me know if I can provide any more details.
Thanks a lot,
D.D.