-
Notifications
You must be signed in to change notification settings - Fork 176
Use no-shadow lint rule #371
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
Conversation
|
What's with all the |
|
@hueniverse I was wondering what you would say about those :) We were using them elsewhere in the code, and I wanted to be a little more consistent and contain the variables in the scope a little more. |
|
Ok. Was just unrelated to the issue being fixed. |
|
What's with all the |
|
In the tests that was to avoid shadowing |
|
|
|
@hueniverse I updated the test script tests to use |
Lab enabled the [no-shadow rule](http://eslint.org/docs/rules/no-shadow.html) in hapijs/lab#371 (with exceptions provided by hapijs/lab#379). This change corrects lint errors created by variable shadowing.
|
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
Remove IE8 rule and use broader no-shadow with a warning
Fixes #369