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

Fix: no-redeclare and no-sahadow for builtin globals #4025

Merged

Conversation

mysticatea
Copy link
Member

Fixes #3971.

When there is a special scope (globalReturn or modules), no longer
no-redeclare reports redeclarations of built-in globals. And when
that, no-shadow reports shadowing of built-in globals.

…t#3971)

When there is a special scope (`globalReturn` or `modules`), no longer
`no-redeclare` reports redeclarations of built-in globals. And when
that, `no-shadow` reports shadowing of built-in globals.
@nzakas
Copy link
Member

nzakas commented Oct 3, 2015

Lgtm

nzakas added a commit that referenced this pull request Oct 3, 2015
…s-for-globals

Fix: `no-redeclare` and `no-sahadow` for builtin globals
@nzakas nzakas merged commit d72e5ba into eslint:master Oct 3, 2015
@mysticatea mysticatea deleted the no-shadow-no-redeclare/tweaks-for-globals branch October 3, 2015 17:56
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 7, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants