Skip to content

style: add a "no-shadow" linter rule #4385

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

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Conversation

haoqunjiang
Copy link
Member

It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong options
several times due to the variable shadowing.

It has become a common source of mistakes.
For example, during PR vuejs#4363 I've referred to the wrong `options`
several times due to the variable shadowing.
@haoqunjiang haoqunjiang merged commit c76d2e6 into vuejs:dev Aug 2, 2019
@haoqunjiang haoqunjiang deleted the no-shadow branch August 2, 2019 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant